In Ubuntu12.10, decompress MySQL5.1.65 and record the installation process.
Decompress and install MySQL 5.1.65 in Ubuntu 12.10.
Homepage → Database Technology
Background:
Read News
Unzip and install MySQL 5.1.65 in Ubuntu 12.10
[Date: 2012-12-05] Source: Linux community Author: teamlet [Font:]
Decompress and install MySQL 5.1.65 in Ubuntu 12.10.
1. Download
? P = mysql-5.1 & o = linux-
2. Decompress
Gunzip mysql-5.1.65-linux-i686-glibc23.tar.gz
Tar-xvf mysql-5.1.65-linux-i686-glibc23.tar
Sudo mv mysql-5.1.65-linux-i686-glibc23/usr/local/mysql
3. Create users and groups
Sudo groupadd mysql
Sudo useradd-g mysql
4. Modify the directory owner
Cd/usr/local/mysql/
Sudo chown-R mysql.
Sudo chgrp-R mysql.
5. initialize the database
Sudo scripts/mysql_install_db -- user = mysql -- basedir =/usr/local/mysql -- datadir =/usr/local/mysql/data/
6. Start
Bin/mysqld_safe &
7. Modify the root password
Bin/mysqladmin-u root password 'Password'
8. log on to the database
Bin/mysql-uroot-p
Enter the password to enter the database
9. View
Mysql> show databases;
OK!
0
Cross-NAT, firewall (firewall) RAC Listener Configuration (ORA-12545)
Summary of three methods for MySQL backup and recovery
Related information MySQL installation tutorial Ubuntu 12.10 MySQL
Image Information
View All comments in this article (0)
Comments
Latest Information
Popular this week
Introduction to Linux community-advertisement service-website map-help Info-contact us
The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.
Copyright©2006-2011 Linux community All rights reserved Zhejiang ICP backup No. 06018118
,