暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
mysql 5.6 on linux RPM安装
600
3页
24次
2019-07-22
免费下载
https://edelivery.oracle.com
解压后只需如下 3 rpm
[wxapp@data1 MySQL]$ ls -l
total 82200
-rw-------. 1 wxapp wxapp 18439808 Jun 11 15:17 MySQL-client-advanced-5.6.19-1.el6.x86_64.rpm
-rw-------. 1 wxapp wxapp 3300928 Jun 11 15:18 MySQL-devel-advanced-5.6.19-1.el6.x86_64.rpm
-rw-------. 1 wxapp wxapp 62429752 Jun 11 15:18 MySQL-server-advanced-5.6.19-1.el6.x86_64.rpm
rpm -ivh --replacefiles MySQL-server-advanced-5.6.19-1.el6.x86_64.rpm
rpm -ivh --replacefiles MySQL-devel-advanced-5.6.19-1.el6.x86_64.rpm
rpm -ivh --replacefiles MySQL-client-advanced-5.6.19-1.el6.x86_64.rpm
A random root password has been set. You will find it in '/root/.mysql_secret'.
随机生成的 root 密码
[root@data1 init.d]# cat /root/.mysql_secret
# The random password set for the root user at Wed Jun 11 15:26:42 2014 (local time):
g6c9BE4eUse4MXqu
修改 root 密码,初始化
[root@data1 init.d]# /usr/bin/mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
You already have a root password set, so you can safely answer 'n'.
Change the root password? [Y/n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
... Success!
By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
... Success!
All done! If you've completed all of the above steps, your MySQL
of 3
免费下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜