linux guru
Tuesday, November 15, 2011
mysql add AUTO_INCREMENT
1, if the table no primary key, you need add primary key first
mysql> alter table blacklist add primary key (alarmID) ;
2, mysql> alter table blacklist modify alarmID int(10) unsigned AUTO_INCREMENT, AUTO_INCREMENT=50000;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ruby on Rails Paperclip tutorial - rails 4.0.3, Ruby 2.1, Paperclip 4.1.1
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
How to reactivate your SSL
How to reactivate your SSL https://www.ssls.com/
jpgraph: The function imageantialias() is not available
error message: Fatal error: Call to undefined function imageantialias() in /var/www/vhosts/bar.php on line 13 The function imageantialia...
No comments:
Post a Comment