I'm trying to build a 1:n dev environment,with the help of Vsever(just like VMware worked on sever)

Things seem to be OK while I copy the os mirror to the virtual pc and install it.

Building My IDE(python+npp), Installing libraries needed, vcredist_x64 and WAMP are also small case.

The IPs config just like this:

10.10.x.x is the ip of Virtual PCs and 172.16.x.x are of Real PCs.

The net gate join 10.10.10.1 with 172.16.1.1 so that the V and the R are combined as one.

10.10.10.130---------------------|

10.10.10.131---------------------|

10.10.10.132---------------------|

10.10.10.133---------------------|

10.10.10.134---------------------|

                 |

   NET GATE:   10.10.10.1--::---172.16.1.1

                 |

172.16.6.66(+10.10.10.197)----|

After all above,I start the WAMPserver service and got an green status, it worked!

check into my pc,type http://10.10.10.130:80 in the broswer::The traditional WAMP index page appears--connecting with virtual pc by http is OK!

reverse:

  start WAMPserver in real PC and type http://172.16.6.66:80 can get the same result

It seems that all things are OK,but, while I try to use Navicat connect whit mysql in 10.10.10.130:3306, I got a 10061.

To my confused,It's ok to connect 172.16.6.66:3306 with Navicat from Virtual PC(10.10.10.130).

Just Like This:

From Http:(In Broswer)

  10.10.10.x <--------------------> 172.16.6.66

From IP:PORT(In Navicat)

  10.10.10.x  ---------------------> 172.16.6.66

  10.10.10.x  <-----------X--------- 172.16.6.66

I wander if there are some fucking configuration in the IP_conf

After several trys ...orz

Chart with friends in qq group and XXX says that it may because of the fire wall configuration.

Googled it!

In The Fire Wall Configuration:

  build a new port rule that allow the 3306 blablablabla.

  named the rule with a XXX name and save

OVER~

Problem:To Connect with MySQL in Virtual PC Environment的更多相关文章

  1. virtual pc中添加软盘支持

    最近对操作系统挺有兴趣的,实验了一下!准备找一个虚拟机,之前在xp上使用virtual pc感觉不错,准备在本机上装一下,但是发现居然不支持软盘了! 查阅了各种资料,终于找到了解决的办法. 1. 下载 ...

  2. percona innobackupex 遇到 connect to MySQL server as DBD::mysql module is not installed 问题

    percona innobackupex connect to MySQL server as DBD::mysql module is not installed [root@mysql softw ...

  3. 2003-Can't connect to mysql server on localhost (10061)

    mysql数据库出现2003-Can't connect to mysql server on localhost (10061)问题 解决办法:查看wampserver服务器是否启动,如果没有启动启 ...

  4. ERROR 2003 (HY000): Can't connect to MySQL server on 'ip address' (111)的处理办法

    远程连接mysql数据库时可以使用以下指令 mysql -h 192.168.1.104 -u root -p 如果是初次安装mysql,需要将所有/etc/mysql/内的所有配置文件的bind-a ...

  5. can't connect to mysql server on 'localhost'(10061)

    在linux下安装Navicat,想说在windows下试一试phpmyadmin之外的mysql图形工具. 显示下载安装了mysql workbench,链接成功.然后又弄了一下输入法重启,想说试一 ...

  6. 解决Can't connect to MySQL server on 'localhost' (10048)

    解决Can't connect to MySQL server on 'localhost' (10048) 您使用的是Windows操作系统,此错误与一个注册表键值TcpTimedWaitDelay ...

  7. MySQL问题记录--Can't connect to MySQL server on localhost (10061)解决方法

    本文mysql的安装环境为win7 64位,mysql版本为MySQL5.7 问题描述:在命令行输入 mysql -u root -p 登录mysql,返回"Can't connect to ...

  8. ruby使用DBI连接MySQL数据库发生异常:in `error': Can't connect to MySQL server on 'localhost' (10061) (DBI::DatabaseError)

    Ruby使用DBI连接MySQL数据库一般为: require "dbi" dbh = DBI.connect("dbi:Mysql:test:localhost&quo ...

  9. mysqlnd cannot connect to MySQL 4.1+

    phpMyAdmin - error #2000 - mysqlnd cannot connect to MySQL 4.1+ using the old insecure authenticatio ...

随机推荐

  1. php类获取静态变量值以及调用

    <?php class Test{ public static $static_var = 20; } echo Test::$static_var;exit;

  2. C#截取指定字符串函数

    本文转载:http://www.cnblogs.com/liufei88866/archive/2012/05/12/2497395.html 一.通过函数方式进行获取. public string ...

  3. JAVA操作Excel时文字自适应单元格的宽度设置方法

    使用JAVA操作Excel通常都使用JXL,方法很简单网上也有很多的教程,然后往往一些细节性的问题却导致我们这些Programmer苦恼不已.这两天帮一个朋友做一个Excel表格自动生成的小软件,就遇 ...

  4. 内核代码架构图 :systemtap函数选择点

  5. linux下mysql配置文件my.cnf详解

    basedir = path 使用给定目录作为根目录(安装目录). character-sets-dir = path 给出存放着字符集的目录. datadir = path 从给定目录读取数据库文件 ...

  6. 亲测linux上安装mysql

    1.rpm -ivh MySQL-server-5.6.19-linux_glibc2.5.x86_64.rpm(这是复制过来的,用Tab键自动补齐吧)2.rpm -ivh MySQL-client- ...

  7. 小结 iOS 中的 copy

    预备知识 : 内存的栈区 : 由编译器自动分配释放, 存放函数的参数值, 局部变量的值等. 其 操作方式类似于数据结构中的栈. 内存的堆区 : 一般由程序员分配释放, 若程序员不释放, 程序结束时可能 ...

  8. iOS 集合的深复制与浅复制

    概念 对象拷贝有两种方式:浅复制和深复制.顾名思义,浅复制,并不拷贝对象本身,仅仅是拷贝指向对象的指针:深复制是直接拷贝整个对象内存到另一块内存中. 一图以蔽之 再简单些说:浅复制就是指针拷贝:深复制 ...

  9. Java基础知识强化02:import static 和 import

    1.import static静态导入是JDK1.5中的新特性.一般我们导入一个类都用 import com.....ClassName;而静态导入是这样:import static com..... ...

  10. Android(java)学习笔记213:开源框架post和get方式提交数据(qq登录案例)

    1.前面提到Http的get/post方式  . HttpClient方式,实际工作的时候不常用到,因为这些方式编写代码是很麻烦的 2.Android应用会经常使用http协议进行传输,网上会有很完善 ...