Hello Luie,
Tuesday, November 20, 2001, 5:46:18 AM, you wrote:
>>>Can you connect to the database from the local machine? How about
>>>connecting in any way from Apache?
>>yes, i can connect to the database from the local machine
LdS> I tried editing the .php file:
LdS> I found out that when I use...
LdS> @ $db = mysql_pconnect("localhost", "root", "password");
LdS> I can connect to the database from both the local & remote machines,
LdS> but when I use...
LdS> @ $db = mysql_pconnect("localhost", "user1", "password1");
LdS> the browser displays an error message saying "can't connect to the database".
LdS> in other words I can only connect to mysql database if i use *root* in the .php
file.
Did you add the user to MySQL's user table, granting the proper
access rights, then 'flush-privileges' or 'reload' using mysqladmin?
--
Best regards,
Brian Curtis
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list