[email protected]:~# mysql -uhpproxy -p1234 -P4040 -h 192.168.19.110

[email protected]:~# mysql -uhpproxy -p1234 -P4040 -h 192.168.19.110
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| cis                |
| ms                 |
| mysql              |
| performance_schema |
+--------------------+
5 rows in set (0.04 sec)
mysql> insert into tb values (1,‘tbone‘);
Query OK, 1 row affected (0.04 sec)

时间: 2024-10-10 08:20:02

[email protected]:~# mysql -uhpproxy -p1234 -P4040 -h 192.168.19.110的相关文章

遇到问题,本地PHP环境连接其他主机的Mysql 出现ERROR 1130: Host '192.168.1.222' is not allowed to connect to this MySQL server

问题描述,1 检查mysql服务是否启动, 2 关闭防火墙                    Netfilter/Iptables    关闭方式[[email protected] ~]#iptables -F                    SELINUX     关闭方式 [[email protected] ~]#setsebool -P samba_enable_home_dir on             3 查看是否有监听mysql端口  netstat -an |gr

Received empty response from Zabbix Agent at [192.168.1.110]. Assuming that

提示错误:Received empty response from Zabbix Agent at [192.168.1.110]. Assuming that agent dropped connection because of access permissio 解决方法: 在客户端vim /etc/zabbix_agentd.conf 修改Server=192.168.1.130(服务器地址)

mysql开启skip-name-resolve 导致[email protected](localhost)访问引发的ERROR 1045 (28000)错误解决方案

为什么配置skip-name-resolve? 由于mysql -h${ip} 远程访问速度过慢, mysql -h172.16.66.171 -uroot -p123456 根据网友经验(https://www.cnblogs.com/yjf512/p/3803762.html), vi /etc/my.cnf [mysqld] skip-name-resolve 重启mysql,发现远程访问msyql速度上来了,解决问题. 然而引发了新的问题: 但是却发现msyql(mysql -h127.

======= 利用源码安装的tar包,免安装--MySQL-5.6.23 for [email protected]

转载请注明出处:http://blog.csdn.net/guoyjoe/article/details/44836547 一.在源码安装的基础上:我打了一个tar包:cd /u01/myss06tar cvzf my3306.tar . 二.关闭防火墙chkconfig iptables off service iptables stop vi /etc/selinux/configSELINUX=disabled 三.检查操作系统上是否安装了MySQL[[email protected] b

【转】ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.1.165' (113)

原文转自:http://blog.csdn.net/chengyuqiang/article/details/54285857 1.程序报错: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 2.尝试远程连接数据库: [[email protected] ~]# mysql -h192.168.1.165 -uroot -p123456 ERROR 2003 (HY000): Can't c

大环境下MySQL5.6源码安装实战一步步教你 CentOS6.5_64bit下编译安装[email protected]

l转载请注明出处:http://blog.csdn.net/guoyjoe/article/details/44813039 一.关闭防火墙 chkconfig iptables off service iptables stop 二.检查操作系统上是否安装了MySQL[[email protected] backup]# rpm -qa |grep mysqlqt-mysql-4.6.2-26.el6_4.x86_64mysql-5.1.71-1.el6.x86_64mysql-server-

ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.56.105' (113)

[[email protected] ~]# mysql -uroot -h192.168.56.105 -p Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.56.105' (113) 问题的分析 出现上述问题,可能有以下几种可能 1. my.cnf 配置文件中 skip-networking 被配置 skip-networking 这个参数,导致所有TCP/IP端口没有被监听,也就是说

1130-host '192.168.x.x' is not allowed to conneciton to this MySQL server

Navicat for MySQLline 连接mysql时报错如下 原因:root用户权限不足,如图: 解决办法: 修改root的连接权限即可,即把"localhost"改为"%",%代表所有主机 方法一: 该表法 步骤: [[email protected] ~]# mysql -u root -p mysql> show databases; mysql> use mysql; mysql> show tables; mysql> se

ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL

当使用Mysql帐号远程登陆的时候,出现类似如下错误:ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL 解决办法: 1. 改表法(可能是你的帐号不允许从远程登陆,只能在localhost.这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost&