473,388 Members | 1,230 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

MySql 5.0 community server remote access stopped working

Hello,
I have a client program that I use to access a MySql 5.0 community server. The client can be on the machine where the MySql server is installed or from a remote machine.

The client has worked fine for 1/2 a year from both the local machine and from remote. I installed the server in january. After returning from vacation in july, I cannot access the server from a remote machine anymore. But the client that is locally on the same machine as the server manage to access it.

Has anybody else encountered this problem? Any ideas what I can do to be able to access again?

best regards
Kurt
Sep 7 '07 #1
7 2249
r035198x
13,262 8TB
Hello,
I have a client program that I use to access a MySql 5.0 community server. The client can be on the machine where the MySql server is installed or from a remote machine.

The client has worked fine for 1/2 a year from both the local machine and from remote. I installed the server in january. After returning from vacation in july, I cannot access the server from a remote machine anymore. But the client that is locally on the same machine as the server manage to access it.

Has anybody else encountered this problem? Any ideas what I can do to be able to access again?

best regards
Kurt
What's the error message you get when you try to connect to it?
Can you ping the server?
Perhaps the remote user rights were edited?
Sep 7 '07 #2
Hello, thanks for the reply.

It looks like this is a message from the client program because it crashes with a fatal Run-Time error before it returns message from MySql. Anyhow, the message is: The program has caused a 'General Protection' fault at 001B:685004C9.

Yes, I can ping the server machine from the remote machine.

best regards
Kurt
Sep 7 '07 #3
Hello again,
sorry, I forgot to answer the last question:
The server is installed on one of my personal computers, so unless the IT department has hacked something, I do not think something has been changed. How can I check it?

Could it be a network security problem? If so, how can I come around it?

Best regards
Sep 7 '07 #4
bartonc
6,596 Expert 4TB
Hello, thanks for the reply.

It looks like this is a message from the client program because it crashes with a fatal Run-Time error before it returns message from MySql. Anyhow, the message is: The program has caused a 'General Protection' fault at 001B:685004C9.

Yes, I can ping the server machine from the remote machine.

best regards
Kurt
So, by "client program" you mean some specially written software, right?
And, by "'General Protection' fault" you mean on Windows, correct?

In the case of specialized software, you want to go back to the basics: Run the simple MySQL Command Line Client and see if you can log in that way.

I'm guessing that a firewall setting or log-in info got changed somewhere. Let us know if you are on Windows or not. Thanks.
Sep 8 '07 #5
Yes, that is a special written sw that has not been changed, and has been working perfectly before, and still does, but now only when running from the server machine, not from the remote machine anymore.

Yes, I am running windows 2000 professional on the server machine, and XP on the remote machine.

I tried the connect command as well as -u x -h y -p but did not manage to get it to work on local nor on remote login. Did not find anything that said very clearly how to logon to a remote machine, so I tried telnet [ipaddr] 3306

Telnet returned some rubbish on localhost (indicating some sort of command conflict which is ok since the MySql server did not recognize the command being sent)
But on remote host, it returned with "Host 'MyRemoteMachine' is not allowed to connect to this MySql server"

Can that still be firewall? It seems to me that the remote machine got in touch with the server since the return string indicated that the process is a MySql server.

We are running F-Secure, and it has some intrusion preventing popup asking whether we want to allow the client to connect... but that popup was there before it stopped working as well.

best regards
Kurt
Sep 10 '07 #6
bartonc
6,596 Expert 4TB
<snip>But on remote host, it returned with "Host 'MyRemoteMachine' is not allowed to connect to this MySql server"

Can that still be firewall? It seems to me that the remote machine got in touch with the server since the return string indicated that the process is a MySql server.

We are running F-Secure, and it has some intrusion preventing popup asking whether we want to allow the client to connect... but that popup was there before it stopped working as well.

best regards
Kurt
That sure sounds like the cause to me.
Sep 10 '07 #7
Hello again,
after disabling the antivirus program the server could still not be accessed. Hence it was not the firewall.

It turned out that (although the user had not been changed) dropping the user and creating it again with grant all did the trick. Don't know why.

best regards
Kurt
Sep 24 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Lenz Grimmer | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, MySQL 4.0.14, a new version of the popular Open Source/Free Software Database, has been released. It is now available in source and binary...
2
by: Nils Hedström | last post by:
Today my stateserver (running at the same computer at the web-server) suddenly stopped responding (after 10 days working perfectly). I did not see any entry in the eventlog indicating that the...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
2
by: Martin | last post by:
Hi all. I have a fully functional page hosted on my PC that uses PHP and connects to MySQL on my PC to generate it's code. I now have some web hosting available which includes both PHP and...
4
by: Richard | last post by:
Hi All, I've been trying to build a Ruby-on-Rails plus MySQL application. I'm running Ruby 1.8.2, Rails 1.1.4 and MySQL 5.0.15-nt over WinXP-Pro/SP2. I run under an Administrative account. ...
4
by: Tracey | last post by:
I have a Mysql database hosted on a remote server. Previously, I could always connect to those databases using the 3.51 ODBC connector and linking the tables in Access. The benefit of this is that...
4
omerbutt
by: omerbutt | last post by:
hi every one I am A new Bee to php mysql and i was surfing through the net to learn about how to secure the mysql when you are working in a web environment while working with php html and javascript...
0
JamieHowarth0
by: JamieHowarth0 | last post by:
I have been trying to find a solution to this on the Internet for months. Literally, ages and ages and ages, praying that someone in the open-source community has enough knowledge to put together an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.