Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-27-2008, 01:40 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Issues after upgrading to mysql5

In preparation of moving to vbulletin 3.7, I decided to update to the latest PHP and MySql per vb's recommendation.

No problems occurred getting the latest PHP setup. I even took it from cgi to isapi. (just in case that could have anything to do with it but I doubt it)

This is an IIS server on a Windows box as well.

Now when I reboot, the mysql service does start but I cannot reach my forum. It hangs forever and eventually times out as if it cannot reach the site or the pw configured it wrong. However, once I run an instance config wizard, no matter what I use as the settings, it will start working. However, when I run the instance config it actually does not complete because it cant stop the mysql service. So what I have done so far is go to windows task manager and end task the mysqld-nt.exe process. I then can complete the instance config and then untill I reboot everything seems fine. I left off in this situation last night. When I woke up I noticed a bunch of errors in my email with ' Data too long for column 'useragent' at row 1 Error Number : 1406
' listed as the error. I made the change in my vb config file to force sql connect. I havent seen that error again since, yet. But as stated, it seems the first time mysql is started it just doesnt actually load up completely. Any suggestions?

Actually perhaps this is also helpful info in troubleshooting. The site actually starts responding when I stop the service. The service does not stop completely, and as stated before I must end task on the process before I can start it back up. But when I start a stop call to the service, the service reads stopping forever and the site just starts working. It's almost like its trying to run as a process AND a service??? Please help

Also worth noting I guess is I had my page on who's online and upon refreshing at one point it tried to prompt me to save the online.php file instead of loading it. I kinda suspected that the force sql line being set to true fixes that but I couldnt tell if thats what was causing the errors. It hasnt happened since I fixed that config line
Reply With Quote
  #2  
Old 05-27-2008, 02:01 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would suggest backing up all your databases and completely uninstall mysql and reinstall it, make sure that it nukes the default mysql database as well upon uninstall, then reinstall it.

Typically if you get prompted to download a php file instead of it being parsed as a web page, thats usually on apache/iis configuration issue.
Reply With Quote
  #3  
Old 05-27-2008, 02:26 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
I would suggest backing up all your databases and completely uninstall mysql and reinstall it, make sure that it nukes the default mysql database as well upon uninstall, then reinstall it.

Typically if you get prompted to download a php file instead of it being parsed as a web page, thats usually on apache/iis configuration issue.
Thanks for your reply first of all...

I do wonder if I am doing everything right. After installing the new sql, I copy the data folder from the old sql install to the data dir. Is that all I should be doing? At what point should I be dropping that data folder in if that isnt right? When I copy the data folder, I am also overwriting the mysql folder and db with my old one. Should I not do that?

Things have been running great ever since I ended task on the process and restarted the service.. None of the trying to save the file either has occurred.

I guess I am just looking for guildance somewhat on when I should be putting that data folder in.. Maybe I did something wrong there thats causing the initial startup to not completely start up or something.

Thanks again for the reply.. If you can tell I am doing something wrong based on what I told you, please def point it out. I have done an uninstall and reinstall MANY MANY times with the same issue. So I am holding off doing it again until someone can explain how I should be introducing my old data folder into the new install...

Thanks again
Reply With Quote
  #4  
Old 05-27-2008, 03:33 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would suggest doing a mysqldump and not just copying the files themselves.

I wouldnt keep any databases except for the ones that are needed for a web site.

The mysql databses will be reinstalled when you setup mysql through the installer.
Reply With Quote
  #5  
Old 05-27-2008, 04:06 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
I would suggest doing a mysqldump and not just copying the files themselves.

I wouldnt keep any databases except for the ones that are needed for a web site.

The mysql databses will be reinstalled when you setup mysql through the installer.
Sorry to be a pain but do you have a link or an easy way of explaining how this process is done on a windows box? Does it even differ or do I just use the command line client? Whats the command? :ducks: (sorry and thanks)
Reply With Quote
  #6  
Old 05-27-2008, 04:16 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

havent used command line client in a while, but it is the same as on a linux box, should just be the following:

mysqldump --opt -u -p dbname > C:\path\to\file\dbname.sql

If i recall you still ahve to pass the -u -p options in command line client, might need to add --hostname if it b*tches
Reply With Quote
  #7  
Old 05-27-2008, 09:21 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Turned out I wasnt being patient I think.. I gave it a good 10 min and everything came up.. lol

oops

But
Quote:
Originally Posted by snakes1100 View Post
Typically if you get prompted to download a php file instead of it being parsed as a web page, thats usually on apache/iis configuration issue.
This has happened again.. The only thing I really changed (in IIS) is the site allowing scripts rather than scripts and executables and changing from an early verision of a CGI php to the lastest isapi php...

Any thoughts? It rarely happens also.. Maybe once an hour or so
Reply With Quote
  #8  
Old 05-27-2008, 09:35 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, not really an IIS geek.
Reply With Quote
  #9  
Old 05-29-2008, 03:22 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I think I solved it.. haven't seen it since I did the following if anyone else has the same issue..

Go to the properties of the website in IIS...

Go to the Home Directory tab.... Click on Configuration... On the Mappings tab, find your php extension in the list, highlight it and click edit.... Uncheck the 'Verify that file exists' box

I know.. Not sure why.. But its the only thing I changed.. and it went away..

Gotta love windows
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04882 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete