Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2009, 04:59 AM
takatok
Fire Beetle
 
Join Date: Apr 2008
Location: USA
Posts: 20
Default Minilogin_ip Default Error

NOTE: I'm VERY new to SQL.

When setting up my server I got the following error:

Account Attempting to be created: qwertylicious 0
Error in CreateAccount query'INSERT INTO accountSET name='qwertylicious',status=0,lsaccountid=110177;' #1364: Field 'minilogin_ip' doesn't have a default value

After searching the forums for similiar problems I found 10-15 people with the same problem and everyone assuming they were trying to use minilogin (they weren't)

I fixed the problem by doing this in the dbase

mysql>alter table account alter column minilogin_ip set default 0

Anyway, the SVN checkout of PEQ_DB has this problem i think:
In account.sql Line 40
Code:
REPLACE
`minilogin_ip` varchar(32) NOT NULL,
WITH
`minilogin_ip` varchar(32) NOT NULL DEFAULT 0,
Hope this helps solve the problem

Tony
Reply With Quote
  #2  
Old 08-03-2009, 04:24 PM
Jobe123
Fire Beetle
 
Join Date: Jan 2008
Posts: 16
Default

most helpful post ever... was having this problem after following the guide and this fixxed it for me... thank you so much!
Reply With Quote
  #3  
Old 08-03-2009, 06:44 PM
Jobe123
Fire Beetle
 
Join Date: Jan 2008
Posts: 16
Default

Sorry for the double reply couldn't find edit off hand.

Just a quick question, if I go in and manually change the SQL file in something like wordpad and resave it will I have to re run the server setup or will it fix it without having to go through the whole database issue agian?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:34 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3