Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MySql
 Mysql eating close to 50% of CPU resource
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 5

modifichicci
Average Member

Italy
787 Posts

Posted - 19 March 2006 :  07:18:13  Show Profile  Visit modifichicci's Homepage
mmmm We have had a problem with profile, but in a modded forum, with timezone mod installed.
Only to say... check you date time settings on your forum and server and pc....

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 March 2006 :  09:51:35  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by ruirib
I find it hard to accept that a newly created MySQL DB locks up when you try to access member info. Never saw anything like that and it makes me suspicious. I am a pessimist by nature .
I can understand that completely. I ask because I'm trying to learn as much as I can about SQL Server and MySQL before I need the knowledge. And this place has been the best place to learn.
Go to Top of Page

trevally
Starting Member

46 Posts

Posted - 19 March 2006 :  20:33:12  Show Profile  Visit trevally's Homepage
Solved! System performance back to normal!

Ruirib, I used your code recommended in the other link but it made no difference. Then I saw OneWayMule who wrote to disable Recent Topics in the member's feature configuration. I did that and everything went back to normal!!!! If you visit my forum www.fishing.net.my/forum and just click now on any members the pop up profile is quick.

This is so baffling. Why does recent topic cause the system to slow? I have already cleaned up all the tables for dups or null.

Secondly, another problem crept up. I tried to archive for stuff more than 1 month, now I get this new problem:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Invalid string or buffer length

/forum/admin_forums.asp, line 503


Is this error somehow related to Mysql? I never got this in Access.

Anyway, I am happy that the main forum is back to normal.

Thank you!

Vincent
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 March 2006 :  05:32:16  Show Profile  Send ruirib a Yahoo! Message
ODBC is the layer of code used by ASP to connect to your database. There is either a web server problem causing that, or a MySQL problem that then causes an issue with the driver. Either way, as I wrote before, I wouldn't trust that server very much.

You can always ask your host to make sure they have the latest MyODBC version installed.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

trevally
Starting Member

46 Posts

Posted - 20 March 2006 :  09:04:59  Show Profile  Visit trevally's Homepage
I just checked with them. It is 3.51. Is it okay?

Thanks,
Vincent
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 March 2006 :  09:12:53  Show Profile  Send ruirib a Yahoo! Message
Is that the one you are using? Check strConnString in config.asp to be sure of that.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 20 March 2006 :  23:34:42  Show Profile  Visit Gremlin's Homepage
There are something like 15 point releases for 3.51 .. if it's older < 3.51.7 or so, that could be a source of some issues, I think the current version is about 3.51.15 or thereabouts.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

trevally
Starting Member

46 Posts

Posted - 21 March 2006 :  01:43:48  Show Profile  Visit trevally's Homepage
This is the connection string from my config.asp

strConnString = "driver={MySQL ODBC 3.51 Driver};option=16387;server=localhost;user=test;password=test;DATABASE=snitz;" '##MySQL w/ MyODBC v3.51

This is the correct one right? Just find it strange that it works in Access but now not here.

Vincent

Edited by - trevally on 21 March 2006 05:38:10
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 March 2006 :  07:39:15  Show Profile  Send ruirib a Yahoo! Message
Yeah, that is the correct connection string. I would suggest that you check Gremlin's advice on the post above and check with your host about the current version of MyODBC...


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

trevally
Starting Member

46 Posts

Posted - 21 March 2006 :  09:37:01  Show Profile  Visit trevally's Homepage
Ruirib and Gremlin,

Can I check with you on one last matter. I promise to buy you guys beer when you come over to Malaysia.

Since I know I am getting close to this matter, is there some SQL commands that I can use to go through each table to see which one is not responding correctly? Is there any test query scripts you are aware of that I can cut-and-paste inside the Myphpadmin SQL section for this?

Thanks for any last advise on this.

Regards,
Vincent
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 21 March 2006 :  10:35:25  Show Profile  Visit modifichicci's Homepage
TRy adding
delrep.CursorLocation=AdUseClient

after
strsql = "select * from " & strTablePrefix & "REPLY WHERE REPLY_ID = " & drs("REPLY_ID")

Some features aren't supported without that command.

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

trevally
Starting Member

46 Posts

Posted - 21 March 2006 :  11:35:51  Show Profile  Visit trevally's Homepage
Where do I add this code to?

Thank you.

Cheers,
Vincent
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 21 March 2006 :  12:11:51  Show Profile  Visit modifichicci's Homepage
in admin_forums.asp, after line 501 that might be
strsql = "select * from " & strTablePrefix & "REPLY WHERE REPLY_ID = " & drs("REPLY_ID")
That is for archiving, for recent topics my thinking is about time settings...

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 22 March 2006 :  01:47:37  Show Profile  Visit Gremlin's Homepage
Your admin section will also show you the exact MyODBC version your server is running, you'll find it near the bottom of the "Server Information" page called Driver Version.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

trevally
Starting Member

46 Posts

Posted - 22 March 2006 :  22:56:20  Show Profile  Visit trevally's Homepage
Hi Gremlin,

This is what I got:

Driver Name myodbc3.dll
Driver Version 03.51.11
Driver ODBC Version 03.51

Are these okay? Or is this version causing problems for me?

Thanks,
Vincent
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07