Query Help, please.
Posted: Sun Jun 21, 2009 4:49 am
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:3216
L2JDP Revision Number:6302
Please tell me what I am missing here guys. Since my last post regarding my antivirus program detecting malware/virus in the L2J_datapack.zip file I had decided to start up a second fresh test server just for testing purposes. Everything is working so far but I am unable to INSERT values into the accessLevels column inside the admin_command_access_rights table. Previously, a friend had given me a query file to add GM Access levels but I had misplaced that file. Below are the steps I had already taken and please let me know if I missed something.
1) Granted Select, Insert, Update access rights for the table Admin_Command_Access_Rights.
2) Granted Select, Insert, Update, access rights for the column AccessLevels.
3) Punched in these two query:
query #1: INSERT IGNORE INTO `admin_command_access_rights` VALUES ('admin_admin','2');
result: Success, 0 row affected
Punched in another query:
query #2: INSERT IGNORE INTO `admin_command_access_rights` (adminCommand, accessLevels) VALUES ('admin_admin','2');
result: Success, 0 row affected
4)I am able to manual change the value using NaviCat or any other graphical user interface. However, doing this by hand is going to take way too much time and I had created a series of query per GM Access Level. I simply want to run these queries and be done with it in a few seconds.
So, what am I missing here? Why is my query not inserting the values into Accesslevels? I double check and am positive I granted Select, Insert, and Update rights to the table and column. Thank you for the second pair of eyes...so late here and so tired....
» Find Revision
L2J Revision Number:3216
L2JDP Revision Number:6302
Please tell me what I am missing here guys. Since my last post regarding my antivirus program detecting malware/virus in the L2J_datapack.zip file I had decided to start up a second fresh test server just for testing purposes. Everything is working so far but I am unable to INSERT values into the accessLevels column inside the admin_command_access_rights table. Previously, a friend had given me a query file to add GM Access levels but I had misplaced that file. Below are the steps I had already taken and please let me know if I missed something.
1) Granted Select, Insert, Update access rights for the table Admin_Command_Access_Rights.
2) Granted Select, Insert, Update, access rights for the column AccessLevels.
3) Punched in these two query:
query #1: INSERT IGNORE INTO `admin_command_access_rights` VALUES ('admin_admin','2');
result: Success, 0 row affected
Punched in another query:
query #2: INSERT IGNORE INTO `admin_command_access_rights` (adminCommand, accessLevels) VALUES ('admin_admin','2');
result: Success, 0 row affected
4)I am able to manual change the value using NaviCat or any other graphical user interface. However, doing this by hand is going to take way too much time and I had created a series of query per GM Access Level. I simply want to run these queries and be done with it in a few seconds.
So, what am I missing here? Why is my query not inserting the values into Accesslevels? I double check and am positive I granted Select, Insert, and Update rights to the table and column. Thank you for the second pair of eyes...so late here and so tired....