Il 03/11/2010 21:35, Qiubo Su (David Su) ha scritto:
hello drupal support team,
thanks for your reply.
i tried /etc/init.d/mysql start and it is ok for the database, however,
after i reboot the pc and run /etc/init.d/mysql start as below, it
doesn't work again. thanks for your help with this again.
root@quicksu-desktop:/var/www/sites/all/modules# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the
service(8)
utility, e.g. service mysql start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
start: Job is already running: mysql
root@quicksu-desktop:/var/www/sites/all/modules# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
Hi, try to see if "/var/run/mysqld/" exist.
Try to edit /etc/mysql/my.cnf file and see if "bind-address" is
set to localhost and if "socket" is set to /var/run/mysqld/mysqld.sock.
M.
--
Michel 'ZioBudda' Morelli michel@ziobuddalabs.it
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 -- Fax: +39-0291390660
http://www.ziobudda.net ICQ: 58351764
http://www.ziobuddalabs.it Skype: zio_budda
http://www.ziodrupal.net MSN: michel@ziobuddalabs.it
JABBER: michel@ziobuddalabs.it