magicandmischief182 Posted November 13, 2008 Share Posted November 13, 2008 In phpMyAdmin or from commandline mysql run: ALTER TABLE `orders` ADD `cc_cvv2 What does that mean to do? Where do I go to get there so I can add that? Thanks. Jeff Link to comment Share on other sites More sharing options...
Hotclutch Posted November 13, 2008 Share Posted November 13, 2008 In phpMyAdmin or from commandline mysql run: ALTER TABLE `orders` ADD `cc_cvv2 What does that mean to do? Where do I go to get there so I can add that? Thanks. Jeff Go to phpMyAdmin from your Control panel. Then click on SQL. In the white box copy and paste the above command. Then click Go. You should backup your database before making any changes with phpMyAdmin. Link to comment Share on other sites More sharing options...
magicandmischief182 Posted November 13, 2008 Author Share Posted November 13, 2008 Go to phpMyAdmin from your Control panel. Then click on SQL. In the white box copy and paste the above command. Then click Go. You should backup your database before making any changes with phpMyAdmin. That's what I did, then I got this error: Error There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem ERROR: Unclosed quote @ 25 STR: ` SQL: ALTER TABLE `orders` ADD `cc_cvv2 SQL query: ALTER TABLE `orders` ADD `cc_cvv2 MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Link to comment Share on other sites More sharing options...
angryquaker Posted November 13, 2008 Share Posted November 13, 2008 Add the closing quote at the end of the line, so instead of ALTER TABLE `orders` ADD `cc_cvv2 you want ALTER TABLE 'orders' ADD 'cc_cvv2' That's what I'd try, anyway. Namasté, Russ One: people are not wearing enough hats. Two: matter is energy. In the universe, there are many energy fields which we cannot normally perceive. Some energies have a spiritual source which act upon a person's soul. However, this soul does not exist ab initio, as orthodox Christianity teaches. It has to be brought into existence by a process of guided self-observation. However, this is rarely achieved, owing to man's unique ability to be distracted from spiritual matters by everyday trivia. Link to comment Share on other sites More sharing options...
magicandmischief182 Posted November 13, 2008 Author Share Posted November 13, 2008 Tried that, got this error: Error SQL query: ALTER TABLE 'orders' ADD 'cc_cvv2' MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''orders' ADD 'cc_cvv2'' at line 1 Link to comment Share on other sites More sharing options...
angryquaker Posted November 13, 2008 Share Posted November 13, 2008 Sorry, I'm a noob, and thought those ` quotes looked wrong, so I used regular ' single quotes. Try ALTER TABLE `orders` ADD `cc_cvv2` and see if that does it. Namasté, Russ One: people are not wearing enough hats. Two: matter is energy. In the universe, there are many energy fields which we cannot normally perceive. Some energies have a spiritual source which act upon a person's soul. However, this soul does not exist ab initio, as orthodox Christianity teaches. It has to be brought into existence by a process of guided self-observation. However, this is rarely achieved, owing to man's unique ability to be distracted from spiritual matters by everyday trivia. Link to comment Share on other sites More sharing options...
magicandmischief182 Posted November 13, 2008 Author Share Posted November 13, 2008 Sorry, I'm a noob, and thought those ` quotes looked wrong, so I used regular ' single quotes. Try ALTER TABLE `orders` ADD `cc_cvv2` and see if that does it. Namasté, Russ That didn't work either. Link to comment Share on other sites More sharing options...
knifeman Posted November 13, 2008 Share Posted November 13, 2008 Which contribution are you trying to install? If you are installing cvv2 for entire order, then the correct sql statement is: ALTER TABLE `orders` ADD `cc_cvv2` VARCHAR(4) AFTER `cc_number`; Tim In phpMyAdmin or from commandline mysql run: ALTER TABLE `orders` ADD `cc_cvv2 What does that mean to do? Where do I go to get there so I can add that? Thanks. Jeff Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.