Wavboy
February 15th, 2006, 09:26 AM
Hi
I'm quite new to ubuntu, for a project I'm working on I needed mySQL 5. After a lot of effort I got it installed, well nearly.
I can connect to mySQL through Putty.
I can connect to mySQL though phpmyadmin.
But I can't get a connection through http. I keep getting this message
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /var/www/apache2-default/Shorten.php on line 3
Also PHP show's my SQL version as Client API version 4.0.24
Can anyone help?
I'm quite new to ubuntu, for a project I'm working on I needed mySQL 5. After a lot of effort I got it installed, well nearly.
I can connect to mySQL through Putty.
I can connect to mySQL though phpmyadmin.
But I can't get a connection through http. I keep getting this message
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /var/www/apache2-default/Shorten.php on line 3
Also PHP show's my SQL version as Client API version 4.0.24
Can anyone help?