473,325 Members | 2,805 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,325 software developers and data experts.

Windows -> Linux problem

I am able to ping both directions from a Linux box to a WinXP box, but
when I try to connect to MySql running on the Linux box using SQuirreL
(a java-based isql tool) using Connector/J 2.0.14 I'm getting the
following exception:

java.sql.SQLException: Cannot connect to MySQL server on
10.12.12.13:3306. Is there a MySQL server running on the machine/port
you are trying to connect to? (java.net.ConnectException)

at com.mysql.jdbc.Connection.connectionInit(Unknown Source)

at com.mysql.jdbc.jdbc2.Connection.connectionInit(Unk nown Source)

at com.mysql.jdbc.Driver.connect(Unknown Source)

at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManag er.getConnection(SQLDriverManager.java:124)

at net.sourceforge.squirrel_sql.client.mainframe.acti on.OpenConnectionCommand.execute(OpenConnectionCom mand.java:103)

at net.sourceforge.squirrel_sql.client.mainframe.acti on.ConnectToAliasCommand$SheetHandler.run(ConnectT oAliasCommand.java:371)

at net.sourceforge.squirrel_sql.fw.util.TaskExecuter. run(TaskExecuter.java:81)

at java.lang.Thread.run(Thread.java:536)

What I find in the documentation is that there could be a couple of
solutions,
1) firewall issue - I've turned iptables off, so this should be
eliminated
2) server started w/ --skip-networking flag - I've tried starting the
server as a service (I'm not sure what gets executed when this gets
started) and using the command "/etc/init.d/mysql start", which calls
"/usr/bin/mysql --defaults=/etc/my.cnf. My.cnf has no reference to
--skip-netowrking. If there are other suggestions out there I would
be very appreciative.

Thanks.
Jeff
Jul 19 '05 #1
0 1226

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

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
7
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.