SQL error for Advanced GuestBook install
Can anyone help out with this.
I have a client that is trying to install this app on his account and this error keeps coming up.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: NO) in /home/nickmont/public_html/guestbook/pkg/lib/mysql.class.php on line 30
MySQL Error : Connection Error
Error Number: 1045 Access denied for user: 'root@localhost' (Using password: NO)
Date : Thu, March 23, 2006 18:14:47
IP : 184.108.40.206
Browser : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/20060111 Firefox/18.104.22.168
Referer : http://nickmontano.net/guestbook//
PHP Version : 5.0.4
OS : Linux
Server : Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/22.214.171.12435 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
Server Name : www.nickmontano.net
It looks like a simple access issue to me but it does not ask for a username or password during the installation.
Can anyone help? I can give you more information if needed.
Sounds like the mysql connect string is not setup correctly. Is root supposed to have a password? is root the correct user?
Well this is an automatic install script.
When i look at the db that it is creating it also creates a user. The name of the db that it creates is called agbook1 and then the user is called agbook1. So i assume that the db wants to use the user it creates.
When i use php myadmin to look at the db there our no tables in it.
So it stumps me. Hope this helps.
look at the script itself. There should be some configuration file somewhere for the initial database connection.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)