How to build a MySQL database
1) Uninstall the original MySQL this is the rpm way to install MySQL, so use rpm-e MySQL--nodeps to uninstall
2) Open after mounting
3) Mysql5.5 need to install CMake compile installation, so install CMake package first
To use Gmake is not make, remember,
4) Create a run user reconciliation package
5) Configuring and compiling the installation
Live: I have made && make install at the back of the configuration command, you can directly compile and install the
6) Setting up the configuration file
7) Initializing the database
8) Setting Environment variables
9) Yes to/etc/profile plus x permission
10) then execute in./etc/profile
11) Adding system services
12) Add permissions to/etc/rc.d/init.d/mysqld
13) Open MySQL service Access database
14) Basic Commands
15) See what databases are in the current server
16) See what tables are in the MySQL database
17) Common Commands
18) Create a new database auth and tables users
The MySQL database above is set up and then into MySQL to create tables and data,
MySQL Database system