Home > Database > Mysql Tutorial > Install and Manage MySQL_MySQL

Install and Manage MySQL_MySQL

WBOY
Release: 2016-06-01 13:56:37
Original
900 people have browsed it

一些最开始的使用方法
download standard binary distribution
1 tar xzvf mysql-standard-*.tar.gz to /usr/local    //extract package
2 cd /usr/local


    ln -s mysql-standard* mysql                 //make symbol link
3 cd mysql
    scripts/mysql_install_db                //initialize db
4 bin/mysqld_safe &                    //start mysql server
5 bin/mysqladmin -u root password 'newpwd'        //change password for root
    bin/mysqladmin -u root password newpwd        //if in windows
6 bin/mysql -u root -p$pwd                //enter mysql
    mysqladmin -u root -p$pwd shutdown            //shutdown mysql

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template