[MySQL]Access denied for user 'root'@'localhost' (using pass
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 7
- Joined: Tue Aug 15, 2006 9:52 pm
[MySQL]Access denied for user 'root'@'localhost' (using pass
I don't even have the server installed yet. I am trying to install MySQL for it, but it keeps giving the "Access denied for user 'root'@'localhost' (using password: YES) " error when setting up security. That is with everything enabled, even when I tried setting it up without having any firewalls at all enabled (even windows firewall disabled)
Navicat gives the same error when I try to connect to it.
The password is correct and I am at a loss about what is wrong with it.
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Navicat gives the same error when I try to connect to it.
The password is correct and I am at a loss about what is wrong with it.
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
- devo
- Posts: 798
- Joined: Mon Jun 15, 2009 1:19 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
connecting to the mysql from the same machine?
A hero of war is that what they see...
-
- Posts: 7
- Joined: Tue Aug 15, 2006 9:52 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
Yes, it is on the same machine.
- devo
- Posts: 798
- Joined: Mon Jun 15, 2009 1:19 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
mysql is running? you started it?
A hero of war is that what they see...
-
- Posts: 7
- Joined: Tue Aug 15, 2006 9:52 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
Its turned on by the installer program itself.
- LiquidIce
- Posts: 90
- Joined: Wed Oct 18, 2006 4:17 pm
- Location: Spain
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
Using password=YES means that you are inputting a password, when it is not required. That means that you have to re-apply the mysql security settings with a new password, and to be sure if you are, or are not using a password, go to RUN, then type in CMD, when inside CMD, type in mysql, if mysql opens up correctly, that means you have no password assigned, if you type in "mysql" (without " ") and the cmd window closes on you, it means you have a password and it must be inserted the following way... Go to CMD, then type in "mysql -uroot -p(password)" without the " " and the password goes next to the -p without a space.
When the rich wage war, its the poor who die.
-
- Posts: 7
- Joined: Tue Aug 15, 2006 9:52 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
Ok, it seems like I don't have a password assigned. That must be because assigning security to mysql in the installer always for some reason fails for me.
How do I give it a password?
How do I give it a password?
- LiquidIce
- Posts: 90
- Joined: Wed Oct 18, 2006 4:17 pm
- Location: Spain
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('PASS HERE');
When the rich wage war, its the poor who die.
-
- Posts: 7
- Joined: Tue Aug 15, 2006 9:52 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
Typing that in mysql simply gives me a new prompt and the password isn't changed. Is it supposed to be applied or something before leaving?
- devo
- Posts: 798
- Joined: Mon Jun 15, 2009 1:19 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
just run mysql wizzard tool, and set password there.
A hero of war is that what they see...
-
- Posts: 7
- Joined: Tue Aug 15, 2006 9:52 pm
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
The wizard tool does not allow me to set security, it gives that error above when trying to set security for mySQL.
- LiquidIce
- Posts: 90
- Joined: Wed Oct 18, 2006 4:17 pm
- Location: Spain
Re: [MySQL]Access denied for user 'root'@'localhost' (using pass
Why dont you get a tool i use thats called "WAMP", it brings apache, mysql for all in 1. It works for putting websites on your computer's localhost for tests and all. And there are multiple ways to fix the security settings. Totally reinstall mysql, uninstall mysql, delete the folder, make sure the services are deleted, and then retry it.
When the rich wage war, its the poor who die.