MySQL Forums
Forum List  »  Install & Repo

mysql_secure_installation: line 42: mysql: command not found
Posted by: Peter Burt
Date: January 30, 2009 08:51PM

Just installed MAMP, not sure what this is all error line 42 is all about? Any ideas?

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
/applications/mamp/library/bin/mysql_secure_installation: line 42: mysql: command not found
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

You already have a root password set, so you can safely answer 'n'.

Change the root password? [Y/n] Y
New password:
Re-enter new password:
/applications/mamp/library/bin/mysql_secure_installation: line 42: mysql: command not found
Password update failed!

Options: ReplyQuote


Subject
Written By
Posted
mysql_secure_installation: line 42: mysql: command not found
January 30, 2009 08:51PM


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.