Debian 6.0
Sponsored Link

Install MySQL2011/03/10

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


# set MySQL's root password



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

Enter password:
# root password for MySQL

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 40
Server version: 5.1.49-3 (Debian)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

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