MySQL Forums
Forum List  »  Newbie

Re: How to Execute MySQL program in Unix Terminal on OS X?
Posted by: Jeff Jones
Date: May 06, 2005 08:49PM

You'll need to issue the following command in the terminal:

mysql -u <username> -p

It will then ask you for the username's password and you should be in the monitor.

From there you can issue MySQL/SQL statements.

The -u asks for a username and the -p means to prompt you for the password.

I'm a Mac user who's new to MySQL but I use both PHPMyadmin and the monitor.

Don't forget that the Terminal in OS X has command memory so you can recall cycle through previous commands with the up and down arrow keys. Saves a lot of typing!!!

Options: ReplyQuote


Subject
Written By
Posted
Re: How to Execute MySQL program in Unix Terminal on OS X?
May 06, 2005 08:49PM


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.