ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Install and Manage MySQL

Install and Manage MySQL

原创 Linux操作系统 作者:mysql_itpub 时间:2008-07-31 09:38:16 0 删除 编辑
/>一些最开始的使用方法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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/14884316/viewspace-416132/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-07-17

  • 博文量
    184
  • 访问量
    170453