Problems connecting to a mysql database
Moderator: General Moderators
-
InnerShadow
- Forum Commoner
- Posts: 37
- Joined: Thu Nov 10, 2005 10:44 pm
- Location: US
Problems connecting to a mysql database
I have a program that makes several connections of a mysql database over a network to a server running linux. Currently the linux server is refusing the connection and i was wondering if there is anything special about mysql on linux that is different from a windows machine.
-
InnerShadow
- Forum Commoner
- Posts: 37
- Joined: Thu Nov 10, 2005 10:44 pm
- Location: US
- dibyendrah
- Forum Contributor
- Posts: 491
- Joined: Wed Oct 19, 2005 5:14 am
- Location: Nepal
- Contact:
I think that can be configured in /etc/mysql/my.cnf .
<- For simulatenous 200 connections to the mysql db server.
To see the effect, restart the mysql db server.
This applies to if you have db server and want to connect from may clients at same time. But you are trying to connect from one pc to many linux machines, which is confusing !!! Will you please make clear what is the error you are getting ? That will help many people get clear what to write on the topic ..
Dibyendra
Code: Select all
set-variable = max_connections=100To see the effect, restart the mysql db server.
This applies to if you have db server and want to connect from may clients at same time. But you are trying to connect from one pc to many linux machines, which is confusing !!! Will you please make clear what is the error you are getting ? That will help many people get clear what to write on the topic ..
Dibyendra