MySQL Fabric 配置问题

burt123 2014-07-02 08:02:52
最近甲骨文发布了一款MySQL Fabric 正式版本。我在本地配置都OK 当时如何使用PHP来连接数据库呢?
用 mysqlnd_ms吗?
如果用mysqlnd_ms那么 mysqlnd_ms的json是写什么数据库的地址呢?前端如何连接呢 求大神解答 谢谢
http://dev.mysql.com/downloads/fabric/
...全文
269 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
「已注销」 2014-08-22
  • 打赏
  • 举报
回复
后端要求是5.6.10或者更高,以前的应用好多还在5.0和5.1啊
burt123 2014-07-02
  • 打赏
  • 举报
回复
MySQL Fabric 配置文件 所有节点数据库 用户密码都为 fabric cat /etc/mysql/fabric.cfg [DEFAULT] prefix = sysconfdir = /etc logdir = /var/log [storage] address = localhost:3306 user = fabric password = secret database = fabric connection_timeout = 6 connection_attempts = 6 connection_delay = 1 [servers] user = oracle password = oracle [protocol.xmlrpc] address = 10.19.3.176:32274 threads = 5 user = admin password = admin disable_authentication = no realm = MySQL Fabric ssl_ca = ssl_cert = ssl_key = [executor] executors = 5 [logging] level = INFO url = file:///var/log/fabric.log [sharding] mysqldump_program = /usr/bin/mysqldump mysqlclient_program = /usr/bin/mysql [connector] ttl = 1 [failure_tracking] notifications = 300 notification_clients = 50 notification_interval = 60 failover_interval = 0 detections = 3 detection_interval = 6 detection_timeout = 1 prune_time = 3600

20,359

社区成员

发帖
与我相关
我的任务
社区描述
“超文本预处理器”,是在服务器端执行的脚本语言,尤其适用于Web开发并可嵌入HTML中。PHP语法利用了C、Java和Perl,该语言的主要目标是允许web开发人员快速编写动态网页。
phpphpstorm 技术论坛(原bbs)
社区管理员
  • 开源资源社区
  • phpstory
  • xuzuning
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧