| Shared Hosting Questions about your shared hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
|
Maximum SQL Connections
I was just revising my site, to ensure that it doesn't break the resource allocations of a shared server.
However, my whole site runs from an SQL Database (content etc) like a small cms, However, I'm a little confused as to the 15 maximum MySQL User Connections, does this mean if there is 16 users on my site at any one time, then there will be 16 user connections to my MySQL database? and therefore "abusing the resources"? Or have I got myself a little mixed up? |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Dec 2004
224 posts
Gave thanks: 6
Thanked 19 times
|
It means 15 connections at one time, your CMS will open a connection for usually less than a second to pull its information out of the DB and then close the connection, so, if you have more than 15 people on your site at one time, you shouldn't be "abusing resources" until you have many more than 15 people on at a time.
__________________
|
|
|
|
|
|
#4 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Dec 2004
224 posts
Gave thanks: 6
Thanked 19 times
|
I believe (someone please correct me if i'm wrong) that if you open your connection with mysql_connect(), it will create a non-persistent connection which simply means it closes after your code is executed. So you shouldn't have anything to worry about.
__________________
|
|
|
|
|
|
#7 (permalink) | |
|
Surpass Fan
Comfy Contributor
Joined in Dec 2004
224 posts
Gave thanks: 6
Thanked 19 times
|
Quote:
But on a side note, you might want to put your server's name, and one of those nifty SL average images in your signature. Instructions on how to do both are in the announcement forums, I believe.
__________________
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|