Skip to Content Skip to Menu

Database Collation Fixer

14 years 4 months ago #138410 by CerberusStyle
Database Collation Fixer was created by CerberusStyle
Here is a little script i modified to help me fix wrong collation information in my joomla database it searchs for collation 1 and replaces with collation 2.

default setting is latin1_swedish_ci TO utf8_general_ci


all you have to do is upload the php file to your web root directory and edit the database details and then run the php file.

[code:1]// DB login information ( ONLY EDIT THIS SECTION NOTHING ELSE )
$username = 'username'; // enter the username to access your joomla Database
$password = 'password'; // enter the password to access your joomla Database
$database = 'database'; // enter the database name of your joomla Database
$host = 'localhost'; // enter the hostname of your mysql server ( normaly 'LOCALHOST' )
// DO NOT EDIT PAST HERE
[/code:1]

once it has finished it will list all the sql command you need to run on your database using PHPMYADMIN to correct all of the collations.

Attachment collationfix.zip not found



Post edited by: CerberusStyle, at: 2010/07/22 01:10

Post edited by: CerberusStyle, at: 2010/07/22 01:11

Post edited by: CerberusStyle, at: 2010/07/22 01:22
Attachments:

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
14 years 4 months ago #138419 by nant

Please Log in or Create an account to join the conversation.

14 years 3 months ago #138605 by CerberusStyle
Replied by CerberusStyle on topic Re:Database Collation Fixer
script being updated and will be unavailible for next few weeks.

Post edited by: CerberusStyle, at: 2010/07/27 01:39

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum