Ubuntu 10.04
Sponsored Link

Install MySQL2010/07/24

  Install MySQL for Database Server
root@www05:~#
aptitude -y install mysql-server-5.1


# set MySQL's root password



root@www05:~#
mysql -u root -p
# login to MySQL

Enter password:
# MySQL's root password

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 39
Server version: 5.1.41-3ubuntu12.3 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

# show user info

mysql>
select user,host,password from mysql.user;


4 rows in set (0.00 sec)

mysql>
exit

Bye
Matched Content