Previous Thread
Next Thread
Print Thread
Rating: 5
CHOELIN #253480 01/11/2005 11:15 AM
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
[]Conrad said:


2. How can up up my cache to 128, and how will this affect my system memory (I've got 1GB RAM)? What do I need to add to the "my.cnf" file, which is very bare at the moment (just 3 lines!):

[mysqld]
set-variable = max_connections=500
safe-show-database
[/]
Just add the variables that aren't defined yet to the configuration file.
So inserting:
table_cache = 128

will set your table cache to 128.
Same thing for key_buffer_size and all other thigs mentioned in Jeremy's text. If a variable isn't set in the config file a default value is used.

[]
3. Also, is there a procedure to follow when restarting MySQL? Or do I just switch the forums off and restart MySQL in WHM?
[/]
Yes, close the board and restart mysql.

[]
5. Last but not least, how do I protect the script from getting into the wrong hands (after all, I don't want to make my db login+password public...)? Placing it above the web root probably makes no sense, so am I doing the right thing by creating a new folder for this file and then setting a password on the folder via CPanel? Is that secure enough? [/]
Yes, that's fine.

Sponsored Links
Entire Thread
Subject Posted By Posted
Let's tune MySQL! msula 07/11/2003 11:05 PM
Re: Let's tune MySQL! cdavis 09/25/2007 8:35 PM
Re: Let's tune MySQL! Gizmo 09/26/2007 1:20 AM
Re: Let's tune MySQL! msula 07/11/2003 11:08 PM
Re: Let's tune MySQL! dimopoulos 07/12/2003 12:41 AM
Re: Let's tune MySQL! Dave_L_dup1 07/12/2003 12:49 AM
Re: Let's tune MySQL! navaho 07/12/2003 2:19 AM
Re: Let's tune MySQL! JustDave 07/12/2003 3:29 AM
Re: Let's tune MySQL! msula 07/12/2003 4:38 AM
Re: Let's tune MySQL! BWilliams_dup1 07/12/2003 4:51 AM
Re: Let's tune MySQL! msula 07/12/2003 5:00 AM
Re: Let's tune MySQL! JoshPet 07/12/2003 5:47 AM
Re: Let's tune MySQL! omegatron 07/12/2003 3:54 PM
Re: Let's tune MySQL! msula 07/12/2003 4:24 PM
Re: Let's tune MySQL! omegatron 07/12/2003 4:28 PM
Re: Let's tune MySQL! msula 07/12/2003 4:47 PM
Re: Let's tune MySQL! omegatron 07/12/2003 5:00 PM
Re: Let's tune MySQL! AllenAyres 07/13/2003 9:35 PM
Re: Let's tune MySQL! dimopoulos 07/14/2003 1:34 AM
Re: Let's tune MySQL! AllenAyres 07/14/2003 1:40 AM
Re: Let's tune MySQL! msula 07/14/2003 1:47 AM
Re: Let's tune MySQL! dimopoulos 07/14/2003 1:48 AM
Re: Let's tune MySQL! msula 07/14/2003 1:56 AM
Re: Let's tune MySQL! AllenAyres 07/14/2003 4:40 AM
Re: Let's tune MySQL! msula 07/14/2003 4:49 AM
Re: Let's tune MySQL! AllenAyres 07/14/2003 6:05 AM
Re: Let's tune MySQL! Ian_W 07/14/2003 9:20 AM
Re: Let's tune MySQL! msula 07/14/2003 2:53 PM
Re: Let's tune MySQL! ScottCargill 07/15/2003 2:30 AM
Re: Let's tune MySQL! navaho 07/15/2003 8:06 PM
Re: Let's tune MySQL! Ian_W 08/13/2003 12:48 AM
Re: Let's tune MySQL! navaho 08/13/2003 3:02 AM
Re: Let's tune MySQL! Ian_W 08/13/2003 10:23 AM
Re: Let's tune MySQL! omegatron 08/13/2003 12:06 PM
Re: Let's tune MySQL! Astaran 08/13/2003 12:15 PM
Re: Let's tune MySQL! Ian_W 08/13/2003 6:50 PM
Re: Let's tune MySQL! navaho 08/13/2003 9:13 PM
Re: Let's tune MySQL! omegatron 08/13/2003 9:44 PM
Re: Let's tune MySQL! navaho 08/13/2003 11:37 PM
Re: Let's tune MySQL! santana 01/29/2004 8:23 AM
Re: Let's tune MySQL! Astaran 01/29/2004 11:24 AM
Re: What Need to be Tuned? Tony 02/20/2004 1:57 AM
Re: What Need to be Tuned? Tony 02/20/2004 1:59 AM
Re: What Need to be Tuned? Tony 02/20/2004 12:43 PM
Re: What Need to be Tuned? slayer60 02/20/2004 7:34 PM
Re: What Need to be Tuned? msula 02/21/2004 3:00 AM
Re: What Need to be Tuned? msula 02/21/2004 3:02 AM
Re: What Need to be Tuned? Tony 02/21/2004 10:22 AM
Re: What Need to be Tuned? msula 02/22/2004 9:56 PM
Managing MySQL AllenAyres 10/21/2004 6:19 AM
Re: Let's tune MySQL! Conrad 12/23/2004 3:41 PM
Re: Let's tune MySQL! Conrad 01/11/2005 5:17 PM
Re: Let's tune MySQL! Astaran 01/11/2005 6:15 PM
Re: Let's tune MySQL! Conrad 01/11/2005 6:50 PM
Re: Let's tune MySQL! little_joe 01/12/2005 12:57 AM
Re: Let's tune MySQL! Conrad 01/12/2005 1:30 AM
Re: Let's tune MySQL! little_joe 01/12/2005 4:49 AM
Re: Let's tune MySQL! SKB 05/15/2005 2:16 AM
Re: Let's tune MySQL! SKB 05/15/2005 10:47 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)