1. Install the MySQL server:
sudo apt-get install mysql-server
2. Choose the password for "root" user:
3. Also, install this:
sudo apt-get install php5-mysql
4. Type this:
mysql -u root -p
5. List the databases:
show databases;
6. Exit the MySQL monitor
quit
or
mysql --version
thanks!
ReplyDelete