EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Unable to Insert miniLogin per Tutorial (https://www.eqemulator.org/forums/showthread.php?t=24525)

Stormheart 03-02-2008 05:29 AM

Unable to Insert miniLogin per Tutorial
 
Ok I am using peq_db dowloaded from sourceforge.net

When I use my Mysql browser and (per tutorial guide instuctions) go and select my peq database so that its bold "PEQ"

then I paste the line to the right of the execute button

UPDATE variables set value=

Stormheart 03-02-2008 05:31 AM

Wierd I didhnt get my full post when i hit new thread
 
WEll here is the full post that should have posted


Ok I am using peq_db dowloaded from sourceforge.net

When I use my Mysql browser and (per tutorial guide instuctions) go and select my peq database so that its bold "PEQ"

then I paste the line to the right of the execute button

UPDATE variables set value=’Minilogin’ where varname=’LoginType’;

It always fails with a

Unknown column '’LoginType’' in 'where clause'

I searched the forums and found one matching thread but the response really didn't give me a clue. I said something like make a table called logintype and insert it into the database which made no sense to me cuzz im a newb with databases

I was able to create my peq database by sourcing load_system.sql and load_empty_players.sql just fine so I see a bunch of items in my PEQ database when I use my MYSQL BROWSER to select it. I am resisting switching to AX_CLASSIC database to try and overcome it. There was an interesting disclaimer in the tutorial saying if this errors out make sure you are using the CVS download of the PEQ_DB but I Cavedude kinda posted to use the sourceforge.net download

The peq db I am using is the final yekesha from sourceforge

Thanks for any help

leslamarch 03-02-2008 06:09 AM

Quote:

Originally Posted by Stormheart (Post 143957)
Ok I am using peq_db dowloaded from sourceforge.net

When I use my Mysql browser and (per tutorial guide instuctions) go and select my peq database so that its bold "PEQ"

then I paste the line to the right of the execute button

UPDATE variables set value=

First of all do you have the variables table in you database?
If not you need to add it. by executing this query

Code:

CREATE TABLE `variables` (
  `varname` varchar(25) NOT NULL default '',
  `value` text NOT NULL,
  `information` text NOT NULL,
  `ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  PRIMARY KEY  (`varname`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

and if you do have that table already then you just need to add this to your database

Code:

INSERT INTO `variables` VALUES ('LoginType', 'minilogin', 'What type of login you wanbr', '2008-02-05 17:07:49');
hope that helps


All times are GMT -4. The time now is 02:44 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.