1
Mysql for win安装说明
APS2000系统手册之
MySQL数据库使用手册
(for windows版)
北京柯瑞斯通电气自动化工程技术有限公司
---------+
mysql use mysql; // 使用mysql数据库 mysql show tables; // 查看mysql数据库中的表 +-----------------+ | Tables_in_mysql | +-----------------+ | columns_priv | | db | | func | | host | | tables_priv | | user | +-----------------+
mysql grant all on *.* to ******@localhost identified by scada; // 增加scada用户
mysql select user,password,host from user; // 查看用户表
+-------+------------------+-----------+ | user | password | host | +-------+------------------+-----------+
| root | 565491d704013245 | localhost | | root | | Blade100 | | | | localhost | | | | Blade100 | | scada | 3ab0d0c20727b8f2 | localhost | +-------+------------------+-----------+
在双机双网系统中必需将服务器和工作站全部的网络节点都加入到mysql数据库的用户列表中,使各个节点的机器可以相互访问彼此的数据库。
5
例如: HOSTA(服务器A: ,)
HOSTB(服务器B: ,) MMIA (工作站A: ,)
这时需在HOSTA和HOSTB的mysql数据库中分别添加以下项:
mysql grant all on *.* to ******@ identified by scada; mysql grant all on *.* to ******@ identified by scada; mysql grant all on *.* to ******@ identified by sc
Mysql for win安装说明 来自淘豆网m.daumloan.com转载请标明出处.