I run Apache/2.0.52 (Win32) / PHP 5.0.3 / MySQL 4.1.7 on Win XP SP2.
I'm pretty sure php/MySQL is working allright, since it's mentioned in the phpinfo() (see below)
and other php/MySQL applications, like phpBB work fine.
My code is: $conn = mysql_connect ('localhost', 'time', 'somepw');
I've read dozens of threads about this error 😕
but they what if php / MySQL is working properly?
I hope that someone can point me in the right direction.
Marc
phpinfo();
...
PHP Version 5.0.3
...
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.1.7
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout -1 -1
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off