phpBB Forum

It is currently Wed 23. May 2012, 17:18

All times are UTC + 1 hour

Forum rules


Hello dearest user and welcome to our EQDKP-Plus support forum.

Please read the following rules and terms before posting anything! Failure in doing so will result in being ignored or being banned. Posting in our boards means you have read, understood and accepted those rules.

English Board Rules – Click here



Post new topic Reply to topic  [ 3 posts ] 
Author Message
Offline
 Post subject: New Installation - MySQL 5.5.x error
PostPosted: Wed 6. Jul 2011, 22:05 

Joined: Wed 6. Jul 2011, 21:50
Posts: 5
Hello,

I am installing a fresh copy of EQDKP 6.4.6 and getting a MySQL error. My platform is as follows:

IIS 7.5
PHP 5.3.6 - mysql extension - NOT mysqli
MySQL 5.5.12

# MySQL EQdkp Structure
# $Id: mysql_structure.sql 363 2007-07-15 13:46:45Z osr-corgan $

I think this structure file needs to be updated for MySQL 5.5.x

When I run the install and try to create the tables the database gives the following error:

#1071 - Specified key was too long; max key length is 767 bytes

This is a UTF8 problem, you can either change the size of varchar to 32 instead of 255
OR
Do not use UTF8 format for your database. ( Use latin1_general_ci )

Just thought I would throw that out there so you can work that into your patches and new versions.

EDIT: one other thing I also noticed that some of the table structure is missing NULL values Need to input all NULL values for the structure.

ERROR: eq_style_config is missing NULL value for some columns. (background_img, css_file)

Error! Failed to execute this SQL Statement:
INSERT INTO eq_style_config (style_id, attendees_columns, logo_path) VALUES
1, '6', 'logo_plus.gif')
There were a few other ones as well but I didn't record them, sorry. I just went into the DB and added a NULL value and then manually re-ran the required information from mysql_data.sql file.

It would also be nice if you included a "config.sample.inc" file in your package so when my installation fails I can continue and simply edit and rename the sample config file rather than having to read your PHP code and building one manually.

Thanks,
CC



Last edited by C_Christo on Wed 6. Jul 2011, 22:59, edited 2 times in total.

Top
 Profile  
 
Online
 Post subject: Re: New Installation - MySQL 5.5.x error
PostPosted: Wed 6. Jul 2011, 22:57 
Core-Developer
User avatar

Joined: Wed 10. Dec 2008, 13:06
Posts: 9025
Location: Heilbronn, Germany
a) Use latin, as 0.6 does not work with UTF
b) disable the MySQL Strict mode, 0.6 will not run in strict mode

--> both fixed in 0.7, this will run in strict mode and will be a native UTF-8 app. Till then, see a) and b)


Support my work:
Image Image
Donate your played PS3 games:
Alternative: Donate your played Playstation3 games (PAL, Region Code 2).



Top
 Profile  
 
Offline
 Post subject: Re: New Installation - MySQL 5.5.x error
PostPosted: Wed 6. Jul 2011, 23:01 

Joined: Wed 6. Jul 2011, 21:50
Posts: 5
excellent, thanks!

CC



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

(C) The EQdkp-Plus Developer Team
EQdkp Plus Template by Ramon Kaes