文章分类 -  0.4 linux MySQL

摘要:http://sourceforge.net/projects/amoeba/files/ 阅读全文
posted @ 2017-01-07 17:47 onlylc 阅读(65) 评论(0) 推荐(0)
摘要:mysql> GRANT REPLICATION SLAVE ON *.* TO repl@192.168.138.162 IDENTIFIED BY '123456'; mysql> change master to -> master_host='192.168.138.161', -> mas 阅读全文
posted @ 2016-12-30 18:11 onlylc 阅读(61) 评论(0) 推荐(0)
摘要:设置更改MySQL root的密码· 默认root密码是空,可以直接登录PATH=$PATH:/usr/local/mysql/bin 加入到/etc/profile中· 使用MySQLadmin -uroot password yourname 设置密码· 更改root密码 mysqladmin -uroot -p password newpass· 链接mysql m... 阅读全文
posted @ 2016-12-16 16:37 onlylc 阅读(175) 评论(0) 推荐(0)
摘要:库 --> 表 --> 行 --> 字段mysql> show databases;+ +| Database |+ +| information_schema || test || ddb1 || discuz || mysql || test |+ +6 rows in set (0.00 se 阅读全文
posted @ 2016-12-16 16:36 onlylc 阅读(97) 评论(0) 推荐(0)
摘要:1. 准备两台centos 6,其中一台机器跑mysql,另外一台机器跑apache和nginx + php2. 同时安装apache和nginx,其中nginx启动80端口,用来跑静态对象(图片、js、css),apache监听88端口, 负责跑动态页(php相关的),并且需要由nginx代理对外 阅读全文
posted @ 2016-12-16 16:35 onlylc 阅读(432) 评论(0) 推荐(0)