LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2008, 12:44 AM   #1
Manish Prasad
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Mysql over LAN


How do I connect mysql server 5.0.51 to LAN in ubuntu plateform.can u plese give the reply as soon as possible
 
Old 06-30-2008, 11:32 AM   #2
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
By default, the mysqld daemon listens on TCP port 3306 for connection requests, so if your system has mysqld installed and running, you can talk to it on that port.

By default, the command interface program, mysql, tries to talk to a daemon on the same host (computer) that it is running on. You can change this by supplying the -h parameter to mysql
Code:
$ mysql -h fubar.com
Similarly, you can specify the host that is supporting the daemon in various scripting languages by supplying either the name or IP address of that host in the database connect request.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
Access MySQL through LAN rpoblems onesandtwos Linux - Networking 6 11-25-2005 07:27 AM
mysql on lan Dasc Debian 6 08-22-2004 11:40 AM
iptables trouble, LAN to MySQL on Firewall dwynter Linux - Security 3 11-01-2002 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:28 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