Tim, [returned the conversation to the list, so that others may benefit] > Right now in the config.inc.php file i have it set as: > > ### MySQL data > $mysql_host = "localhost"; // localhost name > (usually:localhost) > $mysql_user = "mine"; // MySQL username > $mysql_pass = "mine2"; // MySQL password > $mysql_base = "gulf"; // MySQL database > > Is this fine?
=it's only fine if the user created is also the user 'running' the browser! =you have declared values for the four fields, but where is your Connect call? (and thereafter your DB Select call? =remember that the username and hostname are linked to establish the full UserId when it comes to establishing privilege. Is your MySQL RDBMS running on the same machine as you/your browser are working? > I went in to phpmyadmin and created a user mine. =are you able to gain access at the command line (with mine/mine2)? =BTW: now that we all know your pswd, I trust this is not an Internet-facing machine! =Idle curiousity: what will the gulf db contain? =Regards, =dn > --- DL Neil <[EMAIL PROTECTED]> wrote: > > Tim, > > Normally PHP/MySQL doesn't run as "mine", even if > > that is your Windows login > > name - but it is possible... > > Use command line. > > Log on as root. > > Check localhost privileges for user "mine". > > (good coverage in the manual) > > Regards, > > =dn > > > > > I have been trying to get mysql db to run but keep > > > getting access denied. > > > > > > The error is: Warning: Access denied for user: > > > 'mine@localhost' (Using password: YES) in > > > > > > /home/gulf/public_html/SiTeS_1/pUbS9_A/test/config.inc.php > > > on line 106 > > > > > > Warning: MySQL Connection Failed: Access denied > > for > > > user: 'mine@localhost' (Using password: YES) in > > > > > > /home/gulf/public_html/SiTeS_1/pUbS9_A/test/config.inc.php > > > on line 106 > > > > > > > > > Line 106 is: > > > > > > mysql_connect($mysql_host, $mysql_user, > > $mysql_pass); > > > > > > > > > please help soon thanks. > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > > now. > > > http://mailplus.yahoo.com > > > > > > > > > --------------------------------------------------------------------- > > > Before posting, please check: > > > http://www.mysql.com/manual.php (the manual) > > > http://lists.mysql.com/ (the list > > archive) > > > > > > To request this thread, e-mail > > <[EMAIL PROTECTED]> > > > To unsubscribe, e-mail > > > <[EMAIL PROTECTED]> > > > Trouble unsubscribing? Try: > > http://lists.mysql.com/php/unsubscribe.php > > > > > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <mysql-unsubscribe-##L=##[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php