LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-06-2004, 05:39 AM   #1
Goma_2
LQ Newbie
 
Registered: Sep 2003
Posts: 24

Rep: Reputation: 15
mysql remote connecitons


hi.
im using mysql Ver 11.18 Distrib 3.23.52 for suse 8.1. Everything works well: i can open the mysql console localy and access all the db's and apache with php running on the same server works fine.
What i cannot do is access the mysql server remotely. if i type the command:
mysql -h mysql_server_hostname -s 3306 -u user -p password
I get:
"ERROR 2013: Lost connection to MySQL server during query". I get this error if I type it localy on the mysql server host!! Its as if there were some sort of firewall or smth blocking por 3306. On the other hand, if im getting an error code "2013", doesnt this mean that i have actualy connected to the mysql server but there is some other sort of problem and not a blocked port?
The server daemon is run from initd, so i dont have to touch /etc/hosts.allow to grant outside access to it. do i?
Also, i have a mysql user with "%" in the "host" column of the "user" table, so i should have access from ALL hosts.
¿how can i check / enable if port 3306 is open?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get remote access to mysql server hughes28105 SUSE / openSUSE 6 09-17-2005 09:07 PM
MySql on Linux Remote Login cpopham Linux - Software 4 06-13-2005 12:01 PM
connecting to MYSQL remote database opsraja Linux - Software 1 02-18-2005 05:52 AM
MySQL and remote database inspleak Linux - Networking 3 09-17-2004 01:00 AM
Using unixODBC With a Remote MySQL Server thestewart Linux - Software 1 10-07-2003 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration