Jump to content

Question

Posted

hye im not sure why but everytime i restart my server it will give this error

[SQL]: DB error - CREATE command denied to user 'server'@'localhost' for table '                                                                                        sader_variables_log'
[Debug]: at script.cpp:16825 - CREATE TABLE IF NOT EXISTS sader_variables_log                                                                                         (unique_id INT( 11 ) UNSIGNED NOT NULL DEFAULT  '0',ip VARCHAR(100) NOT NULL                                                                                        ,variable VARCHAR(32) NOT NULL, index INT NOT NULL, value INT NOT NULL,ac                                                                                        count_id INT NOT NULL,char_id INT NOT NULL,char_name VARCHAR(30) NOT NULL)                                                                                         ENGINE=MyISAM
[Debug]: Source (NPC): sader_Hourly_Rewards (invisible/not on a map)

 

4 answers to this question

Recommended Posts

  • 0
Posted

try to directly run the command into your sql , in the log database

CREATE TABLE IF NOT EXISTS `sader_variables_log` (`unique_id` INT( 11 ) UNSIGNED NOT NULL DEFAULT  '0',`ip` VARCHAR(100) NOT NULL,`variable` VARCHAR(32) NOT NULL, `index` INT NOT NULL, `value` INT NOT NULL,`account_id` INT NOT NULL,`char_id` INT NOT NULL,`char_name` VARCHAR(30) NOT NULL) ENGINE=MyISAM

 

  • 0
Posted
52 minutes ago, sader1992 said:

try to directly run the command into your sql , in the log database


CREATE TABLE IF NOT EXISTS `sader_variables_log` (`unique_id` INT( 11 ) UNSIGNED NOT NULL DEFAULT  '0',`ip` VARCHAR(100) NOT NULL,`variable` VARCHAR(32) NOT NULL, `index` INT NOT NULL, `value` INT NOT NULL,`account_id` INT NOT NULL,`char_id` INT NOT NULL,`char_name` VARCHAR(30) NOT NULL) ENGINE=MyISAM

 

stiil same i think 

[SQL]: DB error - CREATE command denied to user 'server'@'localhost' for table '                                                                                        sader_variables_log'
[Debug]: at script.cpp:16825 - CREATE TABLE IF NOT EXISTS `sader_variables_log`                                                                                         (`unique_id` INT( 11 ) UNSIGNED NOT NULL DEFAULT  '0',`ip` VARCHAR(100) NOT NULL                                                                                        ,`variable` VARCHAR(32) NOT NULL, `index` INT NOT NULL, `value` INT NOT NULL,`ac                                                                                        count_id` INT NOT NULL,`char_id` INT NOT NULL,`char_name` VARCHAR(30) NOT NULL)                                                                                         ENGINE=MyISAM
[Debug]: Source (NPC): sader_Hourly_Rewards (invisible/not on a map)

 

  • 0
Posted

make sure the connection info to your log database in your server config is right , make sure you have sader_variables_log table in your log database , if it's there , try to delete it and recreate it

  • 0
Posted
3 minutes ago, sader1992 said:

make sure the connection info to your log database in your server config is right , make sure you have sader_variables_log table in your log database , if it's there , try to delete it and recreate it

should i put in my vps ip in that command? since mysql are inside my vps 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...