liunx mysql 安装
来源:互联网 发布:英语小说阅读软件 编辑:程序博客网 时间:2024/06/03 18:38
1、准备文件
-rwxrwxrwx. 1 root root 17713894 Sep 24 01:52 MySQL-client-5.5.38-1.linux2.6.x86_64.rpm
-rwxrwxrwx. 1 root root 50535068 Sep 24 01:52 MySQL-server-5.5.38-1.linux2.6.x86_64.rpm
mysql 服务文件及客户端文件
2、检查和卸载已有mysql
请见另一篇文章。。。
3、安装
环境都准备好以后,手下安装mysql服务
[root@localhost mysql]# rpm -ivh MySQL-server-5.5.38-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
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 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.
然后安装mysql客户端
[root@localhost mysql]# rpm -ivh MySQL-client-5.5.38-1.linux2.6.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [100%]
设置初始root 密码
[root@localhost mysql]# /usr/bin/mysqladmin -u root password '123456'
安装成功。
4、设置mysql访问权限
mysql> grant all privileges on *.* to root@'%' identified by '123456';
设置并刷新
mysql> flush privileges;
- liunx mysql 安装
- liunx 安装Mysql
- liunx 安装mysql
- liunx mysql安装
- Liunx Mysql安装
- liunx 上安装 mysql
- liunx 安装mysql数据库安装
- Liunx-redhat系统安装mysql
- liunx上安装mysql总结
- liunx下绿色版MySQL安装
- liunx centos 下安装 mysql
- liunx 下mysql 的安装
- liunx 环境安装mysql 5.6
- liunx中安装mysql数据库
- Liunx下安装mysql数据库
- contOS liunx自动安装Mysql
- liunx上安装 php apach ssh mysql
- 在liunx下面安装nginx + php +mysql
- poj 1753 Flip Game 点灯问题
- expect学习笔记-3
- ORACLE数据库导入导出相关小结
- 安装pnp4nagios时出现Pango-WARNING **: error opening config file '/home/www/.pangorc': Not a directory错误
- Cordova 3.6.3 + Sencha Touch 2.4.0 打包 APK 详细教程
- liunx mysql 安装
- Windows线程同步的方法
- 日历之完美版-添加了输入框
- java常用设计模式
- [转载]基于效率考虑,对Windows多线程同步机制的选择,分析与实测
- 论ntoskrnl.exe中的导出函数、非导出函数、公开函数、非公开函数
- Java网页解析
- ChangeEnvironmentTool 总结
- 黑马程序员-java设计模式之单例模式