You may want to check the access permissions in mysql. Run: mysql -u root -p then: select * from mysql.user;
I have found that some of the default entries need to be removed. At 6:46 PM +0800 11/20/01, Luie delos Santos wrote: >let me just make some correction to my previous post. > >> >>>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 >I tried editing the .php file: >I found out that when I use... >@ $db = mysql_pconnect("localhost", "root", "password"); >I can connect to the database from both the local & remote machines, >but when I use... >@ $db = mysql_pconnect("localhost", "user1", "password1"); >the browser displays an error message saying "can't connect to the database". >in other words I can only connect to mysql database if i use *root* >in the .php file. > -- -- Glenn Henshaw | Ottawa, Canada Play: [EMAIL PROTECTED] | Work: [EMAIL PROTECTED] _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list