Install MySql database:
sudo apt-get install mysql-server
Start MySql server:
/etc/init.d/mysql start
Stop MySql server:
/etc/init.d/mysql stop
Restart MySql server:
/etc/init.d/mysql restart
Check the status of MySql server:
/etc/init.d/mysql status
List mysql packages
dpkg -l mysql
uninstall mysql server
apt-get --purge remove mysql-server-5.0
re-install mysql server
apt-get --reinstall install mysql-server-5.0
Invoking mysql command-line tool
mysql --user=user_name --password=your_password db_name
To allow remote connectionshttp://www.debianhelp.co.uk/remotemysql.htm
No comments:
Post a Comment