Re: Apache
On Tue, Jul 06, 2004 at 04:29:39PM +0200, Florian Carrère wrote :
> re B'jour :p
Hello
> // You can disable a server config entry by setting host to ''.
> $cfgServers[1]['host'] = '192.168.169.199'; // MySQL hostname
> $cfgServers[1]['port'] = ''; // MySQL port - leave blank
> for default port
> $cfgServers[1]['socket'] = ''; // Path to the socket -
> leave blank for default socket
> $cfgServers[1]['connect_type'] = 'tcp'; // How to connect to MySQL
> server ('tcp' or 'socket')
> $cfgServers[1]['stduser'] = ''; // MySQL standard user
> settings (this user must have read-only
> $cfgServers[1]['stdpass'] = ''; // access to the
> "mysql/user" and "mysql/db" tables)
> $cfgServers[1]['auth_type'] = 'config'; // Authentication method
> (config, http or cookie based)?
> $cfgServers[1]['user'] = 'root'; // MySQL user
> $cfgServers[1]['password'] = ''; // MySQL password (only
> needed with 'config' auth)/
> /-------------------------------------------------
l'erreur est normale dans ton cas... il faut que tu change ton mode
d'authentification
:
$cfgServers[1]['auth_type'] = 'config'; // Authentication method
(config, http or cookie based)
Si tu laisse 'config', il faut que tu renseigne le champ
$cfgServers[1]['password'] = '';
Sinon, tu indique un auth_type de type 'cookie', l'authentification se
fera via une page web, et http via un .htaccess
> De plus je n'arrive pas à lancer les commande mysql type : /mysql restart,
> mysql start / / il me met que ces commandes sont inconnues :-(
> merci d'avance
le chemin /etc/init.d/mysql est correct {start|stop|...}
> flo
Sylvain
--
Gravity is a myth, the Earth sucks.
Reply to:
- References:
- Apache
- From: Florian Carrère <florian.carrere@online.fr>