首页数据库MySQL5.1.71安装操作是什么

MySQL5.1.71安装操作是什么

时间2024-03-24 02:28:03发布访客分类数据库浏览1474
导读:这篇文章主要给大家介绍“MySQL5.1.71安装操作是什么”的相关知识,下文通过实际案例向大家展示操作过程,内容简单清晰,易于学习,有这方面学习需要的朋友可以参考,希望这篇“MySQL5.1.71安装操作是什么”文章能帮助大家解决问题。...
这篇文章主要给大家介绍“MySQL5.1.71安装操作是什么”的相关知识,下文通过实际案例向大家展示操作过程,内容简单清晰,易于学习,有这方面学习需要的朋友可以参考,希望这篇“MySQL5.1.71安装操作是什么”文章能帮助大家解决问题。



yum install -y MySQL-server mysql mysql-deve
service mysqld start/stop/restart

首次启动, 会有如下的提示信息。其中包括

  • 如何设置开机启动
  • 如何设置root密码(默认为空)
  • 如何配置生产环境
  • 如何设置守护进程
  • 如何测试守护进程
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ;
     /usr/bin/mysqld_safe &
    
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ;
     perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
                              [ OK ]
Starting mysqld:                      [ OK ]



以上就是关于“MySQL5.1.71安装操作是什么”的相关知识,感谢各位的阅读,想要掌握这篇文章的知识点还需要大家自己动手实践使用过才能领会,如果想了解更多相关内容的文章,欢迎关注网络,小编每天都会为大家更新不同的知识。

声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!


若转载请注明出处: MySQL5.1.71安装操作是什么
本文地址: https://pptw.com/jishu/651759.html
percona-toolkit如何安装使用,功能有什么 C语言中次方怎样表示,方法是什么

游客 回复需填写必要信息