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 > Simultaneous connections : how to do it ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-09, 05:35
chalumea chalumea is offline
Registered User
 
Join Date: Jul 2009
Posts: 1
Simultaneous connections : how to do it ?

Hello everybody,

I am in trouble with my MySQL configuration : I'm trying to access the database with a lot of threads in the same time (that's my own client, developped in C#), but i don't manage to have more than 4 threads in the same time, according to phpMyAdmin statistics.

I am using lampp on a unix server, with php version 5.2.9, MySQL version 5.1.33 and protocol version 10.

I have this in my "my.cnf" file :
-------------------------------------------------------
port = 10008
socket = /tmp/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port = 10008
socket = /tmp/mysql.sock
skip-locking
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
thread_concurrency=456
-------------------------------------------------------

What do I do wrong ?

Thank you very much for your ideas or suggestions
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