View Full Version : problem running query
wreck
09-08-2004, 09:06 AM
im trying to run a query but everytime i get this message
Error
SQL-query :
ALTER TABLE `postbit`.`user` ADD `battle` INT( 6 ) DEFAULT '0' NOT NULL
MySQL said:
#1142 - alter command denied to user: 'rapdome@localhost' for table 'user'
Dean C
09-08-2004, 10:37 AM
That's very unusual. What it means is that your MySQL user does not have permission to run SQL queries to alter tables. However, I think it may not be this.
There is no postbit table in vB3 (assuming you are running this query on a vB3 board). Also I've never seen that format of query you are trying to run. So run this query:
ALTER TABLE `user` ADD `battle` INT( 6 ) DEFAULT '0' NOT NULL
wreck
09-08-2004, 09:33 PM
that query ran
ah wait, im on vB2 :-s doesnt seem to have caused problems
but it doesnt matter too much, there is a problem with the hack he gave me :-\
the files are the right ones (.php) but the instructions seem to be confusing me, especially as it has some coding from the rpg battle hack in it
That's very unusual. What it means is that your MySQL user does not have permission to run SQL queries to alter tables. However, I think it may not be this.
There is no postbit table in vB3 (assuming you are running this query on a vB3 board). Also I've never seen that format of query you are trying to run. So run this query:
ALTER TABLE `user` ADD `battle` INT( 6 ) DEFAULT '0' NOT NULL
The database is called posbit, the table is 'user'.
Anyway, wreck, have you decided to use someone else's hack or am i misinterpreting here?
wreck
09-08-2004, 10:19 PM
a friend sent me this one but it isnt working, we are trying to fix it but i cant figure it out
so if this doesnt work and i can find the 115$ then i will still get yours.
but money is extremely scarce at the minute
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.