LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-08-2006, 10:53 AM   #1
lonrot_m
LQ Newbie
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
doubt about making a mysql server


Hello:

I am trying to make a sql server, but i wanted that this server can be accesed not just in a normal network but also in internet, for example, the server is in a place and i am in my house and from house i can use the database, how can i make this??

thanks really much
lonrot
 
Old 05-08-2006, 11:02 AM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
All you need to do is install mysql, open the port in you're router if you have one.. Install phpmyadmin and you can access you're mysql by doing http://youip/phpmyadmin .. That worked for me.
Make sure that you give mysql either it's lan IP .. or if it's not in a lan.. the ISP ip.
 
Old 05-08-2006, 02:30 PM   #3
lonrot_m
LQ Newbie
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 26

Original Poster
Rep: Reputation: 15
so it's really symple then , but if the server is also in home network, how can i do it so the clients doesn't go the computer just the server??

sorry i know this is the basics but i am newbie

thanks
lonrot
 
Old 05-08-2006, 03:43 PM   #4
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
by setting a port for mysql/phpmyadmin.. giving the server a static ip .. insert the ip in the phpmyadmin install and mysql ... and setting it in the router, with the port you gave it. That'll make sure that when you do:

http://yourip/phpmyadmin

you go to the server GUI of phpmyadmin and not to your computer and them seeing your files.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
Mysql Server error Can't connect to local MySQL server through socket sridhar11 Debian 10 07-26-2011 12:55 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

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

All times are GMT -5. The time now is 11:30 PM.

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