I am installing Mysql community server and during this step it asks me to enter the password for the root account and i don't know how to solve this problem. Any help please ?
This is asking you to set the root password. Its a new password. Set the password to something that is memorable (or written on a post-it note).
Related
I have been trying to install mysql and there was no problem until it asked for password and I wrote and it said it was right until it asked for password again for connection and it said that it was wrong i tried to uninstall and install again but it keep asking for my password.
as root you can change your password by cmd like
ALTER USER 'yourname'#'%' IDENTIFIED BY 'MyNewPass';
you can access your db from anywhere
Just had helpdesk install mySQL Workbench but when trying to connect to a new connection i am asked for a root password. I try to connect without putting in the password but am thrown an error.
After research i found that whoever installs your mySQL will set up the root password. i eventually got the password from help desk
I downloaded MySQL server 5.7 on my computer (first time) to prove it. But the installer asking me for a password for root#localHost that I have no idea where it is.
I saw a page that you can reset the password using the command line, but the command line ask me too for a password.
What I can do?
UPDATE:
You have told me that if I have not set a password , then the server does not require you to enter one, but observe ! I want to configure the program but will not let me continue !
UPDATE (SOLVED): had to reinstall the MySQL server and the problem disappeared ... (Still asking why happened that...)
Thank you all for your responses and comments!
I think that by default there is no password set for root account.
Source
https://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html
If you have never assigned a root password for MySQL, the server does not require a password at all for connecting as root.
Your default account for the connection to the service of phpmyadmin is user: root and no password. That exist for the Security of the databases
HI Any one can help me that how i can reset my phpmyadmin root password.
when i am going to open localhost/phpmyadmin i got this error..
"
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'. "
and when i click on user to change my password i face this error
Error : Token mismatch
I also try this method:
After started XAMPP server, i go to the browser and type the URL localhost/security/ (incase you've modified XAMPP server port, you need to include that port number also in previous URL). The security page will be shown where you can change the root password for MySQL. This will update the phpMyAdmin config also.
i have follow this method but i cannot solve my problem plz help me out this problem
Go to \xampp\phpMyAdmin\config.inc.php
then
$cfg['Servers'][$i]['password'] = 'WhateverPassword';//near line 21
or Run this command
mysqladmin.exe -u root password 'WhateverPassword'
And Possible Duplicate of Resetting MySQL Root Password with XAMPP on Localhost
I have a mySQL database problem - I'm a newbie to this:
I've installed WAMP Server and I'm able to log into localhost then phpmyadmin to give the screen below (right image). But I get No xNo Privileges in red -- I see from online examples that I should see "Create new database":
Suggestions are welcome.
[I have no password and the login is just 'local']
You are getting this message because you have made up a userid and password.
MySQL's initial installation state has ONE userid defined called root.
This is the case regardless of how you installed MySQL, unless the install asks you for a password at installation time.
That is the SUPER USER and can do anything.
By default (again which ever way you install MySQL) this root user has no password.
So login to phpMyAdmin using :-
username = root
password = (leave this blank, empty)
Press the Login button.
You will now be loged in as root.
PS.
Its a good idea to add a password to this username, BUT PLEASE DONT FORGET IT, as recovery can be a pain.