|
|
|
|
Bonjour,
j'ai installé php,mysql et apache2. Tous fonctionne sauf lors des script php faisant appel au mysql j'ai une erreure lors de la connection qui me dit:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql/tmp/' (13)
[root@localhost ~]# ps axl | grep mysql 4 0 17052 1 24 0 2576 1352 wait S pts/1 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/localhost.pid 4 501 17078 17052 18 0 360984 15052 select Sl pts/1 0:00 /usr/local/mysql//libexec/mysqld --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/localhost.pid --skip-locking --port=3306 --socket=/usr/local/mysql/tmp/mysql.sock 0 0 17088 17015 19 0 1936 732 - R+ pts/1 0:00 grep mysql [root@localhost ~]# /usr/local/mysql/bin/mysql -u CrooOl -p mysql Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.25-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> voila le résultat des commandes |
Salut,
|
Salut Olivier,
|
Bonjour,
|