If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > HeidiSQL 5.0 how to alter table and save db

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-10, 22:42
gilgalbiblewhee gilgalbiblewhee is offline
Registered User
 
Join Date: Jul 2004
Posts: 494
HeidiSQL 5.0 how to alter table and save db

I need to insert:
Code:
ALTER TABLE `theusers`  ADD `usergroup` ENUM('user','admin') NOT NULL DEFAULT 'user' AFTER `password`
It seems to me that every time I insert manually and close it forgets the query. Whether or not I save doesn't matter since it saves as an external file but no change is made.

If you need to know, I use PHP.

How am I going to be able to upload on my site to replace the old db?

So these are my 2 questions.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On