Jump to content

phpmyadmin pain in the ass


Recommended Posts

This is what I get when I try to run the command. Of course I havent a clue if Im doing it right but the hack says to do this:add g_glow varchar(20) NOT NULL DEFAULT ""

And this is what I get when trying: add g_glow varchar(20) NOT NULL DEFAULT

MySQL said:

You have an error in your SQL syntax near 'add g_glow varchar(20) NOT NULL DEFAULT' at line 1

Any ideas?

-Xperties

Link to comment
Share on other sites

  • 3 weeks later...

The command would be something like:

ALTER TABLE 'database'.'table' ADD 'g_glow' VARCHAR(20) NOT NULL

But if you're using phpMyAdmin you can do it using their forms. Like in the table properties find "Add new field :" and you should see a few drop down boxes next to it. Makes it easier if you're not familiar with the command structure.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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