If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Mysql Configuration

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-18-11, 14:01
TheGateKeeper TheGateKeeper is offline
Registered User
 
Join Date: Jun 2011
Posts: 63
Mysql Configuration

Hi guys, i installed MYSQL locally and configured it to accept 1000 connections at once. Will this setting still apply when i host it on an external server?

I need a high amount of connections because it will be used as a game database.
Reply With Quote
  #2 (permalink)  
Old 06-19-11, 04:56
TheGateKeeper TheGateKeeper is offline
Registered User
 
Join Date: Jun 2011
Posts: 63
Anyone?

Need this to work...
Reply With Quote
  #3 (permalink)  
Old 06-19-11, 05:55
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
for now I'd suggest leave it at the default
if you really really need 100+ concurrent connections then let your ISP sort out that problem. each connection requires resources and its quite psossible by setting such a critieria you are cuasing problems with your installation
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #4 (permalink)  
Old 06-19-11, 05:57
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
I am not really sure what you are asking? If you have numbers of connections then you should have this set to a value that represents the number of connections established to the database. However, the higher number of connections to the database the more memory will be used.

It also depends on how the application has been developed. If connections are made for quick updates then consider developing using persistent connections to the database which will reuse the connections that already exist.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
  #5 (permalink)  
Old 06-19-11, 15:32
TheGateKeeper TheGateKeeper is offline
Registered User
 
Join Date: Jun 2011
Posts: 63
I dont really know how much i should should set it... i mean the database will be accessed a lot to get monster information, but i will use stored procedures for that and close the connection each time. Does this mean i dont need a lot of connections?
Reply With Quote
  #6 (permalink)  
Old 06-27-11, 13:45
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
are you setting up the live server or a development server
the config can be easily enough changed after you've got it working for the first time

confiiguring a server is not fo rthe faint hearted, it depends on a lot of knowledge, the available hardware and so on.

if you need 1000+ concurrent connections then you should be able to afford to bring in expert help. for now just get the dam thing awake and complete your development work. again Id strongly reccommend you use a clean install and if possible consider using an XAMPP package, although Ive never had a problem with a MySQL binary install either
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #7 (permalink)  
Old 06-27-11, 15:07
TheGateKeeper TheGateKeeper is offline
Registered User
 
Join Date: Jun 2011
Posts: 63
Hehe i know 0 when it comes to databases! I mean, i know how to query them, just not set them up. In fact, i cant even get it to install and i made a thread about it here:

Anyone know this error?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On