chopficaro Posted November 19, 2011 Share Posted November 19, 2011 i have converted a microsoft .mdb file to an .sql file with a program called bullzip whenever i try to importĀ the sql file into a mysql database, weather through phpmyadmin or through the mysql console, it always gives me the error that they key is too long (max length 1000 bytes) how do i shorten the key or make this problem go away? thanks guys Quote Link to comment Share on other sites More sharing options...
fenway Posted November 19, 2011 Share Posted November 19, 2011 Unless you show us the sql file, we can't help you. Quote Link to comment Share on other sites More sharing options...
chopficaro Posted November 19, 2011 Author Share Posted November 19, 2011 idk how to do that i mean the problems pretty clear isnt it? the primary key in one of the tables must be larger than a k, so i figured theres something in the microsoft access to limit it, but more likely theres a better mdb to sql converter out there that can shrink the primary key thought one of u guys would know of such a program, or how to do it in microsoft access Quote Link to comment Share on other sites More sharing options...
fenway Posted November 20, 2011 Share Posted November 20, 2011 Well, you imported it somehow -- so there is a raw text file somehwere. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.