UID14770
阅读权限50
威望 点
积分504
注册时间2013-3-27
最后登录1970-1-1
听众
收听
升级
  0.8%
|
发表于 2013-4-24 12:51:00
|
显示全部楼层
本帖最后由 albano 于 2013-4-24 12:52 编辑
happydeity 发表于 2013-4-24 11:50 
就是和服务端配置的phpStudy+Navicat8
你的 Mysql 跟 遊戲伺服器是分開台主機 ?
以下例子, 看看有沒有不明白
- D:\phpStudy\MySQL\bin>mysql -u root -p
- Enter password: ****
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 9
- Server version: 5.5.30 MySQL Community Server (GPL)
- Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> GRANT ALL PRIVILEGES ON ragnarok.* TO 'root'@'192.168.1.156' IDENTIFIED B
- Y 'root' WITH GRANT OPTION;
- Query OK, 0 rows affected (0.00 sec)
- mysql> flush privileges;
- Query OK, 0 rows affected (0.00 sec)
- mysql>
复制代码 |
|