This forum has been using MySQL with PhpBB3 for 9 years on my server.
I am now wanting to make an ODBC connection to MySQL from a Windows 10 workstation and cannot get it to open the connection.
I have opened port 3306 on both the server and workstation firewalls.
I also verified that port 3306 is listening on the server.
I tried turning off both firewalls.
I tried to TELNET to port 3306 on the server.
Nothing is allowing me to make that connection.
Does anyone have experience doing this?
Can you help me with this?
MySQL connection problem
MySQL connection problem
The eXpress train is coming - and it has more cars.
Re: MySQL connection problem
Hi Roger
In the directory of exp19/samples/xbasemysql
run infomysql (compile with infomysql.pjx )
enter name server, user name and password
and then click on connect server button (there are two computers)
and see if it is possible to access your server
My project is not a wonder but it works
I hope it solves your connection, in this directory are all the
library, does not use obdc , is with a native mysql.dll
Best regard
Héctor
In the directory of exp19/samples/xbasemysql
run infomysql (compile with infomysql.pjx )
enter name server, user name and password
and then click on connect server button (there are two computers)
and see if it is possible to access your server
My project is not a wonder but it works
I hope it solves your connection, in this directory are all the
library, does not use obdc , is with a native mysql.dll
Best regard
Héctor
Re: MySQL connection problem
Hector -
Interestingly, I get the same error number (10060) as I do from the ODBC connection.
After some more googling, I'm finding that this is pointing me in the right direction:
https://forums.mysql.com/read.php?34,49742,239961
They refer me to cpanel and I don't even know what that is.
I was hoping that it would be a simple entry in My.ini to allow remote connections.
I have followed every instruction I could find on the internet and have made no progress.
Interestingly, I get the same error number (10060) as I do from the ODBC connection.
After some more googling, I'm finding that this is pointing me in the right direction:
https://forums.mysql.com/read.php?34,49742,239961
They refer me to cpanel and I don't even know what that is.
I was hoping that it would be a simple entry in My.ini to allow remote connections.
I have followed every instruction I could find on the internet and have made no progress.
The eXpress train is coming - and it has more cars.
Re: MySQL connection problem
Hi Roger
"network," but someone or something changed it to "public network." ?????
Try the following
in Windows go to network center and shared resources
locate network in use
then go to properties
then disable Internet Protocol (Tcp/ipv6)
then accept
I wish you success
Héctor Pezoa
"network," but someone or something changed it to "public network." ?????
Try the following
in Windows go to network center and shared resources
locate network in use
then go to properties
then disable Internet Protocol (Tcp/ipv6)
then accept
I wish you success
Héctor Pezoa
Re: MySQL connection problem
That didn't help. I found this on a Google search:disable Internet Protocol (Tcp/ipv6)
Will disabling ipv6 cause problems?
Typically, IPv6 enabled systems will prefer IPv6 connections over IPv4, so a misconfigured or malfunctioning IPv6 network will cause connectivity problems. ... When you have a network problem that is “solved” by disabling IPv6, you have masked the symptom of a bigger problem that warrants further investigation.
The eXpress train is coming - and it has more cars.
Re: MySQL connection problem
Hi Roger
Some ideas, maybe you checked them out.
I guess your mysql server is running on Windows ... therefore open a DOS window and type:
netstat -an
You should find a line like this:
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
This tells you that the mysql server is running and listening on TCP port 3306.
Another test you can do is telnet (from another PC) to your mysql server:
telnet ip_mysql_server 3306
1) my.conf
[mysqld] port = 3306 bind-address = 0.0.0.0
2) mysql
GRANT ALL PRIVILEGES ON *.* TO 'user_name'@'%'; FLUSH PRIVILEGES;
3. Use the % wildcard for the host part of the user count to allow the connection from any host
Check the mysql configuration: /etc/my.cnf
mysql> GREAT ALL PRIVILEGES ON *.* TO 'rafa'@'%'
-> IDENTIFIED BY '123456789' WITH GRANT OPTION;
put the sign % that's it. the problem was solved.
Best Regard
Héctor
Some ideas, maybe you checked them out.
I guess your mysql server is running on Windows ... therefore open a DOS window and type:
netstat -an
You should find a line like this:
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
This tells you that the mysql server is running and listening on TCP port 3306.
Another test you can do is telnet (from another PC) to your mysql server:
telnet ip_mysql_server 3306
1) my.conf
[mysqld] port = 3306 bind-address = 0.0.0.0
2) mysql
GRANT ALL PRIVILEGES ON *.* TO 'user_name'@'%'; FLUSH PRIVILEGES;
3. Use the % wildcard for the host part of the user count to allow the connection from any host
Check the mysql configuration: /etc/my.cnf
mysql> GREAT ALL PRIVILEGES ON *.* TO 'rafa'@'%'
-> IDENTIFIED BY '123456789' WITH GRANT OPTION;
put the sign % that's it. the problem was solved.
Best Regard
Héctor
Re: MySQL connection problem
Hi Roger
you can use this tool, to configure MySQL
winmysqladmin, will show your connection, which you can modify.
When you run it, a traffic light will appear at the bottom of your screen , place show me
With this tool I have solved connection errors
best regard
Héctor
you can use this tool, to configure MySQL
winmysqladmin, will show your connection, which you can modify.
When you run it, a traffic light will appear at the bottom of your screen , place show me
With this tool I have solved connection errors
best regard
Héctor
- Attachments
-
- winadm.rar
- winmysqladmin
- (1.46 MiB) Downloaded 1079 times
Re: MySQL connection problem
I had already done that. Result:netstat -an
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
Result:telnet ip_mysql_server 3306
Connecting To 192.168.0.60...Could not open connection to the host, on port 3306: Connect failed.
I had already done that too.
There is NO my.conf file.1) my.conf
[mysqld] port = 3306 bind-address = 0.0.0.0
There is a my.ini file.
I added bind-address=0.0.0.0 and restarted server.
Still no connection with Telnet.
No good.GRANT ALL PRIVILEGES ON *.* TO 'user_name'@'%'; FLUSH PRIVILEGES;
#1146 - Table 'mysql.servers' doesn't exist
There is no my.cnf file on the entire driveCheck the mysql configuration: /etc/my.cnf
I am guessing that my problems are associated with the fact that I am using WampServer.
It comes with a special services:
wampapache64
wampmysqld64
I GIVE UP!!!
The eXpress train is coming - and it has more cars.
Re: MySQL connection problem
Hi Roger
Try the file I attached for the last time.
mysqladmin.....
you can make a copy of the data directory, and make a backup of it
I was able to recover all the databases, that way, and then I did a clean installation.
You can copy that backup to another pc, and prove that you have your data current
luck
best regard
Héctor
Try the file I attached for the last time.
mysqladmin.....
you can make a copy of the data directory, and make a backup of it
I was able to recover all the databases, that way, and then I did a clean installation.
You can copy that backup to another pc, and prove that you have your data current
luck
best regard
Héctor
Re: MySQL connection problem
Hi
View these links
https://www.youtube.com/watch?v=hCXDGA0b4hE
https://stackoverflow.com/questions/341 ... esnt-start
best regard
Héctor
View these links
https://www.youtube.com/watch?v=hCXDGA0b4hE
https://stackoverflow.com/questions/341 ... esnt-start
best regard
Héctor