Software Outsourcing, Offshore Software Development, Offshore Outsourcing Services, IT Outsourcing, Offshore Development
MySQL manual Offshore Software Outsourcing and Programming, IT Outsourcing Offshore Software Development  
Call Us Today: 1-800-678-9001
Offshore Software Outsourcing and Programming, IT Outsourcing Offshore Software Development

Home / Technical Support / MySQL

Key Offerings:

B2B and B2C E-Business Solutions

Offshore Software Development Outsourcing

Strategic Consulting

Offshore Software Outsourcing

About ALTOROS: ALTOROS Systems is headquartered in Tampa, Florida and maintains an office near Boston, Massachusetts and technology development center in Belarus and Russia. ALTOROS specializes on providing value-added e-commerce and web-based software development and offshore software outsourcing services to emerging enterprises helping them successfully plan and implement business initiatives.

Contact Us for more information.

Node: ALTER TABLE problems, Next: Change column order, Prev: Table Definition Issues, Up: Table Definition Issues
Problems with ALTER TABLE.
 
ALTER TABLE changes a table to the current character set.  If you during ALTER TABLE get a duplicate key error, then the cause is either that the new character sets maps to keys to the same value or that the table is corrupted, in which case you should run REPAIR TABLE on the table.
 
If ALTER TABLE dies with an error like this:
 
Error on rename of './database/name.frm' to './database/B-a.frm' (Errcode: 17)
 
the problem may be that MySQL has crashed in a previous ALTER TABLE and there is an old table named A-something or B-something lying around.  In this case, go to the MySQL data directory and delete all files that have names starting with A- or B-.  (You may want to move them elsewhere instead of deleting them.)
 
ALTER TABLE works the following way:
 
      ·      Create a new table named A-xxx with the requested changes.
 
      ·      All rows from the old table are copied to A-xxx.
 
      ·      The old table is renamed B-xxx.
 
      ·      A-xxx is renamed to your old table name.
 
      ·      B-xxx is deleted.
 
If something goes wrong with the renaming operation, MySQL tries to undo the changes.  If something goes seriously wrong (this shouldn't happen, of course), MySQL may leave the old table as B-xxx, but a simple rename on the system level should get your data back.
 
Offshore Software Outsourcing company Russia Florida Massachusetts Boston Belarus, Offshore Software Development Services, Offshore Programming and IT OutsourcingOffshore Development, Programming  Services, Tampa FL Russia, E-commerce, Database, CRM, Financial Insurance Health Care Real EstateOffshore Software Development Services, Software Outsourcing Russia
HOME PAGE, Offshore Software Outsourcing Company, offshore IT outsourcing services, offshore 
software development Russia Massachusetts Florida New York CT VT RI software development