PDA

View Full Version : mysql connection no longer works



4ever
09-10-2003, 02:31 PM
After the conversion to Webhost2.0 the connection to mysql inside my perl program doesn't work any more. as soon as I type

use DBI;

the program stops working. any idea?

quicktrick
09-10-2003, 10:50 PM
make sure you have installed mysql, perl and the perl option for mysql in your control panel.

mdueri
09-11-2003, 12:29 AM
I need some serious help with mysql. Here is the problem:

1) If I login with an ssh client using the new password that westhost gave me after the 2.0 upgrade, I can access mysql just fine.

2) If I login from my php scripts using the new password it fails.

3) If I login from my php scrips using the old password, it will allow me to query the databases for reading only. If I try to INSERT INTO TABLE... it will not return anything.

I really need to have my users login from the php script. Help please!

Mark

4ever
09-11-2003, 10:12 AM
make sure you have installed mysql, perl and the perl option for mysql in your control panel.

Indeed, after installing "Perl - MySQL Libs" under "database" my site has been up and running again. mysql and perl were already installed when they moved to the new system.

Thanks a million, quicktrick...