锐神安装mysql的大体步骤
锐神安装mysql的大体步骤
mv mysql-5.0.45.tar.gz ./local/
tar -zxvf mysql-5.0.45.tar.gz
make clean
./configure --prefix=/home/users/zhujunqing01/local/mysql --with-xcharset=all --with-charset=utf8 --enable-local-infile --with-unix--socket-path=/home/users/zhujunqing01/local/mysql/mysql.sock --with-tcp-port=8836 --with-mysqld-user=root
make install
ps aux | grep mysql
ps aux | grep mysqld
./bin/mysql_install_db
./share/mysql/mysql.server start
cp share/mysql/my-huge.cnf ./my.cnf
./bin/mysql -uroot -p123456 用户root登陆mysql
./bin/mysql -ugalaxy_meta_rw -p123456 登陆mysql
mysql>
create user galaxy_meta_rw identified by '123456'; 创建用户
grant all privileges on *.* to galaxy_meta_rw@"%" identified by '123456';授予该用户权限
mv mysql-5.0.45.tar.gz ./local/
tar -zxvf mysql-5.0.45.tar.gz
make clean
./configure --prefix=/home/users/zhujunqing01/local/mysql --with-xcharset=all --with-charset=utf8 --enable-local-infile --with-unix--socket-path=/home/users/zhujunqing01/local/mysql/mysql.sock --with-tcp-port=8836 --with-mysqld-user=root
make install
ps aux | grep mysql
ps aux | grep mysqld
./bin/mysql_install_db
./share/mysql/mysql.server start
cp share/mysql/my-huge.cnf ./my.cnf
./bin/mysql -uroot -p123456 用户root登陆mysql
./bin/mysql -ugalaxy_meta_rw -p123456 登陆mysql
mysql>
create user galaxy_meta_rw identified by '123456'; 创建用户
grant all privileges on *.* to galaxy_meta_rw@"%" identified by '123456';授予该用户权限