Ubuntu/mysql
From r00tedvw.com wiki
(Difference between revisions)
(Created page with ";mysql is one of the most popular database applications on the market today <br\> mysql login mysql -u <user> -p will then prompt you for a password <br\> mysqladmin login m...") |
Revision as of 15:06, 22 November 2012
- mysql is one of the most popular database applications on the market today
mysql login
mysql -u <user> -p
will then prompt you for a password
mysqladmin login
mysqladmin -u <user> -p
you can also run other commands after -p, such as:
see if the database is running
status
change MySQL root pass
sudo dpkg-reconfigure mysql-server-5.1
verify MySQL is running
sudo netstat -tap | grep mysql