Web Images Videos Maps News Groups Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Errors Running generate_db-mysql.sql
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hodgesz@gmail.com  
View profile  
 More options Apr 4, 12:08 pm
From: "hodg...@gmail.com" <hodg...@gmail.com>
Date: Fri, 3 Apr 2009 19:08:08 -0700 (PDT)
Local: Sat, Apr 4 2009 12:08 pm
Subject: Errors Running generate_db-mysql.sql
I just attempted to run the script generate_db-mysql.sql and got the
following errors.

ERROR 1071 (42000): Specified key was too long; max key length is 767
bytes

ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)
ERROR 1005 (HY000): Can't create table 'esoe.#sql-228_f' (errno: 150)

I am using MySQL 5.1.31-community.  I first created a schema called
esoe and executed with root.

Has anyone seen this before?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shaun Mangelsdorf  
View profile  
 More options Apr 4, 2:42 pm
From: Shaun Mangelsdorf <s.mangelsd...@gmail.com>
Date: Sat, 4 Apr 2009 14:42:11 +1000
Local: Sat, Apr 4 2009 2:42 pm
Subject: Re: [esoe-users] Errors Running generate_db-mysql.sql

Hi,

I have seen this before, though a long time ago.

Try dropping your database and creating it again with the "latin1" character
set, i.e.:
CREATE DATABASE esoe CHARACTER SET latin1;

After this, the creation script should work properly. The problem I had was
with the maximum width of a field that can be indexed by MySQL, since
Unicode is (sometimes) stored in more than 1 byte.

Hope that helps!

Shaun

2009/4/4 hodg...@gmail.com <hodg...@gmail.com>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google