Azitech

Azimout's Linux weblog

MySQL without a password

leave a comment »

If you want to be able to access the MySQL prompt without entering your password each time, add the following section to ~/.my.cnf:

[client]
password=your_pass

Reference: http://dev.mysql.com/doc/refman/5.1/en/password-security-user.html

Advertisements

Written by azimout

28/02/2013 at 20:44

Posted in Tricks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: