Install and Manage MySQL

Install and Manage MySQL - 应用软件 - 电脑教程网

Install and Manage MySQL

日期:2007-05-06   荐:
一些最开始的使用方法

download standard binary distribution1 tar xzvf mysql-standard-*.tar.gz to /usr/local //extract package2 cd /usr/local ln -s mysql-standard* mysql //make symbol link3 cd mysql scripts/mysql_install_db //initialize db4 bin/mysqld_safe & //start mysql server5 bin/mysqladmin -u root password 'newpwd' //change password for root bin/mysqladmin -u root password newpwd //if in windows6 bin/mysql -u root -p$pwd //enter mysql mysqladmin -u root -p$pwd shutdown //shutdown mysql

标签: