PDA

Visualizza la versione completa : MySql.. O.o ma come si f..


alex86
12-10-2004, 00:15
ho messo tutti i pakketti su php e mysql..

e nn parte mysql!



ale@linux:~> su
Password:
linux:/home/ale # cd /etc/init.d/
linux:/etc/init.d # ./apache2 start
Starting httpd2 (prefork)
. done

linux:/etc/init.d # ./mysql start
Creating MySQL privilege database and starting MySQL...
hostname: Unknown host
Neither host '' and 'localhost' could not be looked up with
/usr/bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
chown: `mysql': utente non valido
failed
linux:/etc/init.d #

alex86
12-10-2004, 00:22
allora..ho creato sia l'utente mysql ke il gruppo..ora se da root faccio ./mysql start ho



linux:/etc/init.d # ./mysql
Usage: ./mysql {start|stop|status|reload|restart|try-restart|force-reload}
linux:/etc/init.d # ./mysql start
Creating MySQL privilege database and starting MySQL...
hostname: Unknown host
Neither host '' and 'localhost' could not be looked up with
/usr/bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
failed
linux:/etc/init.d #


ho il presentimento ke devo modificare qlks..ma cosa?anzi..devo modificare l'hostname ma dove?

tog1
12-10-2004, 01:34
Neither host '' and 'localhost' could not be looked up with
/usr/bin/resolveip

fare come ti indica? ti dice dove non lo trova...tu aggiungilo...

alex86
12-10-2004, 01:52
... un file eseguibile...come lo modifico? :D

nik600
12-10-2004, 09:47
appunto!

devi impostare l'host della tua macchina!

Please configure the 'hostname' command to return a correct hostname.

Pegasus
12-10-2004, 10:38
ma cosa hai in /etc/hosts?

alex86
12-10-2004, 10:42
Originariamente inviato da nik600
appunto!

devi impostare l'host della tua macchina!

Please configure the 'hostname' command to return a correct hostname.

e come?

in hosts ho



#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 localhost

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts

alex86
13-10-2004, 00:50
lamerop :D

Pegasus
13-10-2004, 01:38
Se hai risolto, d come. Pu risultare utile ad altri in futuro.

alex86
17-10-2004, 01:29
vorrei aver risolto!ma nn cs..qlke altra opinione??

help me!

Loading