Fedora is an open, innovative, and proactive operating system and Platform Based on Linux. It allows anyone to use, modify, and re-release freely, No matter now or in the future. It is developed by a strong community where members make unremitting efforts to provide and maintain free and open source software and open standards. The Fedora Project is managed and controlled by the Fedora Foundation and supported by RedHat, Inc. Install MySQLcd/usr/lamp/mys
Fedora is an open, innovative, and proactive operating system and Platform Based on Linux. It allows anyone to use, modify, and re-release freely, No matter now or in the future. It is developed by a strong community where members make unremitting efforts to provide and maintain free and open source software and open standards. The Fedora Project is managed and controlled by the Fedora Foundation and supported by Red Hat and Inc.
Install MySQL
Cd/usr/lamp/mysql
Chown-R root.
Scripts/mysql_install_db -- user = root
Chown-R root data
Bin/mysqld_safe -- user = root &
Bin/mysql-u root
Set MYSQL auto-start
Open the file/usr/lamp/mysql/support-files/mysql. server
Find $ bindir/mysqld_safe -- datadir = $ datadir -- pid-file = $ server_pid_file $ other_args
Change to $ bindir/mysqld_safe -- datadir = $ datadir -- user = root -- pid-file = $ server_pid_file $ other_args
And set
Basedir =
Datadir =
Change
Basedir =/usr/lamp/mysql
Datadir =/usr/lamp/mysql/data
Cp/usr/lamp/mysql/support-files/mysql. server/etc/init. d/mysql
Chmod + x/etc/init. d/mysql
Chkconfig -- add mysql
/Bin/sh-c 'CD/usr/lamp/mysql;./bin/mysqld_safe -- user = root &'
Grant all privileges on *. * to joe @ '%' identified by '123 ';