| |
|
Welcome to KnowledgeSutra - Dear Guest | |
What Is Mysql's Default Root Password?
#1
Posted 29 December 2005 - 12:56 AM
Also, an a different note, why would the system stop loading after a certain point (towards the end, don't remeber where) if I have my USB drive plugged in before booting?
#2
Posted 29 December 2005 - 02:47 AM
Quote
shell> mysql -u root mysql
The server should let you connect because the MySQL root user has no password initially. That is also a security risk, so setting the password for the root accounts is something you should do while you're setting up your other MySQL users. For instructions on setting the initial passwords, see Section 2.9.3, “Securing the Initial MySQL Accounts”.
The manuals are available at mysql.com either for online reading or by downloading. If you have installed it locally, probably best to download it.
Hope this helps.
#4
Posted 29 December 2005 - 02:43 PM
http://dev.mysql.com...rd-hashing.html
http://www.experts-exchange.com/Databases/...Q_20678779.html
#5
Posted 29 December 2005 - 06:25 PM
You can set the root password by typing this:
# mysqladmin -u root password 'new-password'
You can then login by typing this:
# mysql -u root –pThen you'll be prompted to provide the password you specified earlier.
You also might want to delete the anonymous user in the User's table. The default configuration of MySQL allows any user access to the system without
providing a username or password.
Delete the user by typing this:
# mysql -u root –p mysql> use mysql mysql> delete from user where User=''; mysql> quit
#7
Posted 24 May 2008 - 08:58 AM
What Is Mysql's Default Root Password?
Hi,I have installed easy php1.8 on to my system and I created a database and tables in it.I'm trying to send the form data written in html to my database using php code.I'm getting errors like
Access denied for user@localhost using password (yes)
Here I didnt used any username or password or it was not asked during installation.So,because of the above error I'm unable to connect to the database.Hence I'm unable to send the form data tomy database table.I dontknow whether there may be any default passwords or not.
Please help me out
#8
Posted 28 May 2008 - 03:56 PM
What Is Mysql's Default Root Password?
Replying to Trap FeedBacker
Even I just installed my mysql. It dint prompt for any password when it was installed nor did the blank password work. It returs with the same error when I try to open sql or try to change the password... Any help?
-reply by Rajaram
#9
Posted 13 June 2008 - 08:01 PM
/etc/init.d/mysql stopRun
mysqld_safe --skip-grant-tables &Enter as root
mysql -u root -p
To change root password
mysql client - mysql -u rootand write
use mysql update user set password=PASSWORD(”NEW-ROOT-PASSWORD”) where User=’root’;
#10
Posted 03 September 2008 - 04:20 AM
What Is Mysql's Default Root Password?
Replying to Framp
Dude I've been searching for an answer ALL DAY LONG! Thank you so much this helped tons!
-reply by Drew
#12
Posted 02 January 2010 - 09:41 PM
Hi everybody,I have recently transferred from shared hosting to virtual private server.And when moving my database to a newserver (VPS) I was unable to Login to Mysql or PhpMyAdmin.Iam using Login: root (which is unix SSH login)Pass: password for ( Unix SSH access)Can anyone tell me how to login to mysql or phpmyadminOr where the configuration file will be?Waiting for replies
Saiful
-reply by Saiful
Reply to this topic

2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users















