access denied for user 's_admin@localhost'
Posted by: banu (---.57.246.61.airtel.in)
Date: July 08, 2010 11:44AM

hi all,

I am gettin the mysql error "access denied for user 's_admin@localhost' and php error as 'phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection'.

i dont have IIS in my machine and in my config file, i am having multiple user- one for a remote server and one localhost. remote server login is working fine, but when i try to connect to local host, I am facing these errors. i have checked the username and password, it is correct. do i have to do anything in my local machine???

Any help is appreciated.

Thanks in advance,
banu.

Options: ReplyQuote
Re: access denied for user 's_admin@localhost'
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 08, 2010 07:02PM

You're trying to connect to mysql with the username s_admin. Have you created this mysql user s_amin? The default user for mysql is root with no password set.

Options: ReplyQuote
Re: access denied for user 's_admin@localhost'
Posted by: banu (---.57.246.61.airtel.in)
Date: July 09, 2010 12:30PM

thanks ya. it worked... silly of me to forget that.

Options: ReplyQuote
Re: access denied for user 's_admin@localhost'
Posted by: yfastud (Moderator)
Date: July 09, 2010 09:55PM

to setup password, follow this
[blog.jlbn.net]

to setup db acct, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.