MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old May 4th, 2000, 10:01 PM
Zeit Zeit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 1 Zeit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I lease web space from a company that does not support Mysql, but allows me to install it in my web space. When I execute a perl script which calls Mysql, it calls the default Mysql server, not mine. How do I work around this? I'm using DBI to make the call - do I need to install that module pointing to my Mysql server?

Also, after my install the other night, I was able to login to the mysql prompt and create my tables, but today I can't, I get theis error:

ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(111)

Thanks in advance for any advice!!

Reply With Quote
  #2  
Old May 9th, 2000, 07:06 PM
jvl jvl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 1 jvl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Zeit:
I lease web space from a company that does not support Mysql, but allows me to install it in my web space. When I execute a perl script which calls Mysql, it calls the default Mysql server, not mine. How do I work around this? I'm using DBI to make the call - do I need to install that module pointing to my Mysql server?

Also, after my install the other night, I was able to login to the mysql prompt and create my tables, but today I can't, I get theis error:

ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(111)

Thanks in advance for any advice!!
[/quote]

well you schould call mysql using an option like --socket=/dir/where/your/socket/is

Reply With Quote
  #3  
Old May 10th, 2000, 04:36 AM
wouterr wouterr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 27 wouterr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
try to change the port your MySQL server runs on....

eg not 3306 but another port

Reply With Quote
  #4  
Old May 13th, 2000, 12:04 AM
gonja gonja is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 13 gonja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi everybody...

i also tried running multiple servers...all was ok but when i tried to run the server it saying mysqld already running how to solve this..........

socket,tcp port and data dir all are specified and distinct from another mysql session...

pls help

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Multiple Mysql servers on one server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway