473,748 Members | 3,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error connecting to db server

I have a mysql 3.5 server installed on a suse linux 8.1, with address 10.0.0.100.
Now I want to access that db from a W2K pc, address 10.0.0.200.
I am able to ping 10.0.0.100, but I cannot connect to the db, and get error 2013.
I have tried with MySQL Administrator 1.0 and also with ODBC.
The db on linux has
grant all on *.* to ''@'10.0.0.%'
and also tried
.... to ro**@10.0.0.200
and others seen on posted messages.
I can access that db via php applications (eg phpMyAdmin).
Thank you.
Jul 23 '05 #1
3 6170
kamilla wrote:
I have a mysql 3.5 server installed on a suse linux 8.1, with address 10.0.0.100.
Now I want to access that db from a W2K pc, address 10.0.0.200.
I am able to ping 10.0.0.100, but I cannot connect to the db, and get error 2013.
This seems to be a prevalent error with many causes.
Everything from library conflicts on the server, to exhausted disk
space, to the MySQL server simply being configured to deny remote
connections.

Does this occur immediately upon connecting to the MySQL server, or is
it only have you attempt some query or command on that connection?
Can other hosts connect to the MySQL server without this error?
Can clients on the Linux host connect to a MySQL database? (e.g. 'mysql
test')
Can clients on the Linux host connect to a MySQL database using the
network layer (e.g. 'mysql -h 10.0.0.100 test')
If you can connect from the Linux client, look at the values:
mysql> show variables like 'skip_networkin g';
mysql> show variables like 'bind_address';
If skip_networking is "Yes" or bind_address is anything other than
"10.0.0.200 " then this would prevent the connection.

Regards,
Bill K.
I have tried with MySQL Administrator 1.0 and also with ODBC.
The db on linux has
grant all on *.* to ''@'10.0.0.%'
and also tried
... to ro**@10.0.0.200
and others seen on posted messages.
I can access that db via php applications (eg phpMyAdmin).
Thank you.

Jul 23 '05 #2
Thank you.

On the Linux node:
I have more space available

'mysql test' and 'mysql -h 10.0.0.100 test' give no error message,
seem to work.

mysql> show variables like 'skip_networkin g' = OFF
mysql> show variables like 'bind_address'; = Empty set

From 10.0.0.200:
'http://10.0.0.100/phpMyAdmin' or
'http://10.0.0.100/another_PhpAndM ysql_Applicatio n'
works and can access db

'MySQLAdministr ator.exe' connect to server host = 10.0.0.100, user =
root, pwd = ''
gives 'could not connect to the specified instance', while ping works
fine.
Connection to another db on 10.0.0.300 works
Other trials made with odbc connector tools, failed.
Same from 10.0.0.300.

What else to check?
Thank you.
Nice w-e!
PM

Bill Karwin <bi**@karwin.co m> wrote in message news:<d3******* **@enews1.newsg uy.com>...
kamilla wrote:
I have a mysql 3.5 server installed on a suse linux 8.1, with address 10.0.0.100.
Now I want to access that db from a W2K pc, address 10.0.0.200.
I am able to ping 10.0.0.100, but I cannot connect to the db, and get error 2013.


This seems to be a prevalent error with many causes.
Everything from library conflicts on the server, to exhausted disk
space, to the MySQL server simply being configured to deny remote
connections.

Does this occur immediately upon connecting to the MySQL server, or is
it only have you attempt some query or command on that connection?
Can other hosts connect to the MySQL server without this error?
Can clients on the Linux host connect to a MySQL database? (e.g. 'mysql
test')
Can clients on the Linux host connect to a MySQL database using the
network layer (e.g. 'mysql -h 10.0.0.100 test'
If you can connect from the Linux client, look at the values:
mysql> show variables like 'skip_networkin g';
mysql> show variables like 'bind_address';
If skip_networking is "Yes" or bind_address is anything other than
"10.0.0.200 " then this would prevent the connection.

Regards,
Bill K.
I have tried with MySQL Administrator 1.0 and also with ODBC.
The db on linux has
grant all on *.* to ''@'10.0.0.%'
and also tried
... to ro**@10.0.0.200
and others seen on posted messages.
I can access that db via php applications (eg phpMyAdmin).
Thank you.

Jul 23 '05 #3
Does your host 10.0.0.100 have a firewall that doesn't allow connections
on port 3306? Try (from another machine) 'telnet 10.0.0.100 3306' and see
if you get a connection. The connection won't last long before MySQL
decides something is wrong and closes it, but you should see something
like:
$telnet 10.0.0.100 3306

Escape character is '^]'.
8
4.1.11-Max=2!NH\tS," OHZm6`eXj.DConn ection closed by foreign host.

In this case, 4.1.11-Max is the database server version. You should see
something about 3.5.xx.... that you should recognize as your MySQL version.

If you get 'connection refused', your firewall is blocking you.
Hope this helps.
--
Mike Argy
Custom Office solutions
and Windows/UNIX programs
Excel 2000 on Fedora Core 3

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
9746
by: David W. Fenton | last post by:
I'm no stranger to this error message, but I have a client who is experiencing it, but, fortunately, without any actual data corruption, and it's driving them made. Their inability to grasp that the cause is fundamentally a networking problem is also making me pull my hair out. Some history: The network is composed of five computers dating back to 1995, each purchased one at a time, and each having a different OS, etc. Until
12
2789
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed both the iis and sql server in a single machine. Not too long ago, the machine had some hardware problems, and management has decided to purchase new servers, for both asp.net and sql server.
7
2197
by: deltalimagolf | last post by:
I now get the following error message after copying an asp.net application to the deployment web server. I don't have SQLExpress or any version of SQL 2005 installed. I found the "LocalSQLServer" connection string in the machine.config, changed that to look at a SQL 2000 database, but the error still comes up. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be...
3
3003
by: Ann Marinas | last post by:
Hi there, I am currently developing an ASP.NET program that connects to a SQL Server 2000 database. I also have SQL Server 2005 Express installed on the same local machine. Prior to installing SQL Server 2005, my apps were working and is connecting flawlessly to a database on the SQL Server 2000. Now, whenever I connect to the same database with the 2005 version installed, I keep on getting this error:
1
4726
by: John Shadel | last post by:
I have the following setup: 1. ASP.NET 2.0 web app hosted on a web server (inetpub directory hosting physical files of the web site on a different drive name, E: than the SQL Server Instance, which is on C:) 2. SQL Server on the same server, with security settings enabling ASPNET group and groups containing users allowed to interact with the website added to SQL Server Instance security settings. 3. Impersonation = true, i.e. ASPNET...
5
1937
by: James | last post by:
Hello, I have written a simple logon page that redirects to another page when successful. All works fine on my computer but when I upload it I get the error message below. I have written it in ASP.net v2, and have put it on IIS v6 on windows server 2003. I think it may be something to do with connection string to the database,
1
7047
by: NEWS | last post by:
My application is giving error .pls help . error : Server Error in '/webpdms' Application. -------------------------------------------------------------------------------- An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40...
10
15954
by: mairhtin o'feannag | last post by:
Hello, I'm having problems connecting to my new v9 db box. The pertinent information is below: DB2_db2inst1 60000/tcp DB2_db2inst1_1 60001/tcp DB2_db2inst1_2 60002/tcp DB2_db2inst1_END 60003/tcp
0
2005
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ((string)(this.GetPropertyValue("Address1")));
5
3558
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting this error. Any idea why? Server Error in '/myuser4/MyWebApp' Application. --------------------------------------------------------------------------------
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8242
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2782
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.