Access denied for user 'root'@'localhost'

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

iceherosubzero
Posts: 15
Joined: 06 Mar 2009, 07:52
Location: India
Contact:

Access denied for user 'root'@'localhost'

Postby iceherosubzero » 03 Jan 2014, 08:34

Hello All,

I have implemented a Sign Up / Login Form for user registration in my game.
I have uploaded the swf file on my server and created a database in phpAdmin on the server.
When I try to register, I get the below Error.

components.signup.SignUpAssistant | | Unexpected SQL Error while checking for duplicate user names: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)

The PhpAdmin on my server requires a user and password.
I have even set a username and password in my zone database manager that matches the username and password with the phpAdmin username and password.
I want to know how can I turn this

(using password: NO) to (using password: YES) in the SignUpAssistant

Please Help

Thank you,
Iceheros
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Access denied for user 'root'@'localhost'

Postby Lapo » 03 Jan 2014, 10:44

< Moved in the proper section >
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Access denied for user 'root'@'localhost'

Postby Lapo » 03 Jan 2014, 10:46

MySQL is complaining that you are not sending a password for the root user.
Are you sure you have configured the DBManager correctly? Maybe you haven't restarted SFS after setting it up.

thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 58 guests