MySQL Forums
Forum List  »  Connector/Python

Re: No password assigned during MySQL install
Posted by: Bill Orton
Date: May 20, 2014 11:12AM

After further reading I was able to determine that during the initial MySQL setup / install no password is assigned. A password can be assigned at a later date if desired. I discovered that the reason why I was unable to connect to the MySQL server was because MySQL had not been started. In order to start MySQL I entered the following into the Terminal prompt:

shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
(ENTER YOUR PASSWORD, IF NECESSARY)
(PRESS CONTROL-Z)
shell> bg
(PRESS CONTROL-D OR ENTER "EXIT" TO EXIT THE SHELL)

After entering these commands into Terminal MySQL started and I was able to make an SQL server connection object.

Options: ReplyQuote


Subject
Written By
Posted
Re: No password assigned during MySQL install
May 20, 2014 11:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.