php forum
php mysql forum
php mysql smarty
 
Topic Options
#312785 - 01/19/07 06:25 AM Problems with mySQL while upgrading from 6.5 to 7
Punze Offline
Lurker

Registered: 01/19/07
Posts: 1
Hi there,

I've got a problem with upgrading an existing installation (version 6.5) to version 7.02. The problems seems to be in the Import-Script for version 7.02. Before upgrading the existing database the Collation of mySQL is "utf8_general_ci". After running the import script to update the database, the Collation is switched to "Latin1_swedish_ci". I do not know why and if this is right. The problem is that no password of any user account is accepted anymore when I try to login to the new version 7.02 (after the upgrade). The user still exists, but the password is not accepted anymore. I think this problems belongs to the databse. Does anyone know this problem or can me help to solve it?

Thank you!

Regards, Johnny

Top
#312791 - 01/19/07 09:50 AM Re: Problems with mySQL while upgrading from 6.5 to 7 [Re: Punze]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
hmmm... this could explain some of the issues I had with the upgrade too and why photopost logins are giving me heck.
_________________________
- Allen wavey
- What Drives You?

Top
#313028 - 02/01/07 07:23 PM Re: Problems with mySQL while upgrading from 6.5 t [Re: AllenAyres]
navaho Offline
Veteran

Registered: 10/05/00
Posts: 2517
Loc: navahoville! :D
In none of the scripts can I see where he defines that. He defines table type=MYISAM and that's it. In the installer for 6.5 I'm not even sure if he does that, just leaves it default.

Have you updated MySQL between your initial installation of the 6 series and now? If so it is likely that the default type of your MySQL changed.
_________________________
Picture perfect penmanship here.

Top
#313047 - 02/02/07 02:39 PM Re: Problems with mySQL while upgrading from 6.5 t [Re: navaho]
Burak Offline
Addict

Registered: 05/29/00
Posts: 1820
Loc: Istanbul, Turkey
You can alter the charset and collation of the table:

Code:
ALTER TABLE <table> DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci


_________________________
one bytecode to rule them all

Top


Top Posters Last 30 Days
AllenAyres 82
Gizmo 29
sirdude 25
Zarzal 23
blaaskaak 12
swebs 6
willing 5
Who's Online
1 Registered (M4D), 34 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
User Authentication Class
by sirdude
Today at 06:11 PM
Multiple Identity Detector
by Myke
Today at 05:45 AM
FlashChat with UBB.Threads 7.0.2
by Gizmo
Today at 12:30 AM
Nice Ajax Chat
by Thelockman
07/06/08 09:07 AM
[7.x] UBB.Post Templates v0.1
by sirdude
07/05/08 12:48 PM
Team UBBDev Rides Again!
by AllenAyres
07/04/08 10:56 PM
[7.3.x] ubb.links
by AllenAyres
07/03/08 06:15 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
nunny, lpzie, DoubleDutch, ryzilla, M4D
13305 Registered Users

 

 

 
fusionbb message board php hacks