Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 37 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4420
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#168050 - 11/10/06 05:58 PM MySQL and PHP upgrade steps
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Wondering if anyone knows the proper steps for doing an
upgrade of MySQL and PHP for use with the new UBBT 7.01?

I have UBBT 6.5.1.1 MySQL 3.23.58 and PHP 4.4.1

I updated MySQL to 5.0.27 but now I get errors on UBBT 6.5.1.1

Quote:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client


Quote:
Warning: table_wrapper(c:/data/www/sitename/html/ubbthreads/templates//tbopen.tmpl): failed to open stream: No such file or directory in c:\data\www\sitename\html\ubbthreads\ubbt.inc.php on line 1419


What is the appropriate way to upgrade to the latest versions
of MySQL and PHP in order to use with UBBT 7.01 on Windows Server 2003 and then run the import scripts to bring over my older posts.
 

 
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#168054 - 11/10/06 07:01 PM Re: MySQL and PHP upgrade steps [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Simply put, the way that MySQL stores user passwords changed in version 4.0; you have a couple of choices:
1. Reset your password, all is well.
2. Set MySQL to run passwords how it used to; its again fairly easy and an edit in the my.cnf, although I'm not sure of the exact steps, just google it for a full answer.

As for the PHP error, I'm not entirely sure off hand, but I'm guessing its due to the double // before tbopen.tmpl
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#168056 - 11/10/06 07:06 PM Re: MySQL and PHP upgrade steps [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Some quick googling on the password format returns:
1. Edit /etc/my.cnf (in *nix), or C:\my.cnf (in Win)
2. Under [mysqld] add: old-passwords

Note that I would more recommend you reset your password than change the password type; but its your choice how to repair the issue.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#168059 - 11/10/06 07:13 PM Re: MySQL and PHP upgrade steps [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Thanks.

Option 1 sounds fine.

Not sure exactly though what you mean.

The config.inc.php file has the password already.
I dropped my user and recreated and gave a password with Grant
in MySQL and gave all permissions to the local database
after upgrading to 5.027

Thanks
 
Top
#168061 - 11/10/06 07:20 PM Re: MySQL and PHP upgrade steps [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Your config.inc.php doesn't need updating unless you change what it is, the password in MySQL has to be updated as they changed the format of how passwords are stored in MySQL4.

If you really want to read about the password changes you should take a gander at the following two links:
http://dev.mysql.com/doc/refman/5.0/en/set-password.html
http://dev.mysql.com/doc/refman/5.0/en/password-hashing.html
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#168062 - 11/10/06 07:24 PM Re: MySQL and PHP upgrade steps [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Thanks for the links.

I read the first link before, will read up on the 2nd link.

Thanks again.
Top
#168063 - 11/10/06 07:45 PM Re: MySQL and PHP upgrade steps [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Update:

worked a treat thanks. 2nd link also has other PHP issues that may affect some users.

Code:
SET PASSWORD FOR
'user_account'@'localhost' = OLD_PASSWORD('yourpassword');

 
Thanks again Gizmo.
 
Top
#168065 - 11/10/06 09:19 PM Re: MySQL and PHP upgrade steps [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Lol not a problem
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33840 Topics
181693 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image