PDA

View Full Version : Unable to connect to mysql server


awdyck
25th October 2009, 06:32
I am attempting to install ISPConfig4 on a Ubuntu 9.04 LAMP OS. I am getting the following error when running the installation script: Unable to connect to mysql server Access denied for user 'root'@'localhost' (using password: YES).

Anyone have any ideas?

till
25th October 2009, 10:43
You use the wrong mysql root password. Please check that the password really works by using the mysql comand like this on the shell:

mysql -h localhost -u root -p

Also please make sure that you installed your server exactly as described in the perfect server guide for ispconfig 3, a normal lamp setup is not enough to fullfill the system requirements.

awdyck
25th October 2009, 16:48
I am able to connect with mysql server. It may be a question of where mysql is listening.

till
25th October 2009, 18:40
Mysql has to be installed in the default location and with the default port of the Linux distribution. Please follow exactly the perfect server guide for ispconfig 3 to install your server.