jamaicasearch Posted September 30, 2002 Share Posted September 30, 2002 I am tring to install the MO_PIC mod but for some reason the PHPMyAdmin gives this error...when i try to do the alter table part of it..... any idea why? Database commercecart running on localhost Error SQL-query : ALTER TABLE `catalog`.`products` ADD `products_subimage1` VARCHAR(64) AFTER `products_bimage` MySQL said: ALSO: when adding the additional tables for the new affiliate program MYSQL gives an error...this should be a simple procedure why the error?? alter command denied to user: 'catalog1@localhost' for table 'products' Link to comment Share on other sites More sharing options...
hobbzilla Posted September 30, 2002 Share Posted September 30, 2002 denied to user is the key to the error. Have you checked to make sure that you have rights to alter the table with the catalog1 MySQL userid? Link to comment Share on other sites More sharing options...
Ajeh Posted September 30, 2002 Share Posted September 30, 2002 Is your MySQL database really called catalog or is it called fred ... that is hard coded in there with the MySQL database name with the assumption it's name is catalog. Just edit the name to your MySQL database name. Link to comment Share on other sites More sharing options...
jamaicasearch Posted September 30, 2002 Author Share Posted September 30, 2002 woow!...thanks...my database is called commercecart and not catalog...thank for the reminder two heads are truly better than one Everton Link to comment Share on other sites More sharing options...
jamaicasearch Posted October 1, 2002 Author Share Posted October 1, 2002 my database name is "commercecart" username is "catalog1" password is "catalog2" i change the name catalog to commercecart...but i still get the same error Link to comment Share on other sites More sharing options...
Ajeh Posted October 1, 2002 Share Posted October 1, 2002 Last time I loaded this, I was in phpMyAdmin ... sitting in the products table, pasted in: ALTER TABLE `catalog`.`products` ADD `products_bimage` VARCHAR(64) AFTER `products_image` Edited that to: ALTER TABLE `mystore`.`products` ADD `products_bimage` VARCHAR(64) AFTER `products_image` Make sure you are using the right back tick marks and not quote marks on the database name. Link to comment Share on other sites More sharing options...
Mark Evans Posted October 1, 2002 Share Posted October 1, 2002 Or you could use ALTER TABLE `products` ADD `products_bimage` VARCHAR(64) AFTER `products_image Then it doesn't matter what your database is called ;) Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Ajeh Posted October 1, 2002 Share Posted October 1, 2002 *cough*cheater*cough* :D Link to comment Share on other sites More sharing options...
jamaicasearch Posted October 1, 2002 Author Share Posted October 1, 2002 Mark & Linda thanks for the assistance ..I will try both way later today....gonna try mark's way first as it looks a little familiar...then if it doesnt work i will try Linda's way....if that doesn,t work i will then resort to my life long motto "If at first you dont succeed, QUIT !!!! no sence making a DAMN FOOL of yourself" Hey I am just kidding Just wanted to tell a JAMAICAN joke. thanks again guys ... Link to comment Share on other sites More sharing options...
jamaicasearch Posted October 2, 2002 Author Share Posted October 2, 2002 Hi, I am having problems with the sql file when installing the affiliate V2.0 preview MOD the below is the error i get Database commercecart running on localhost Error SQL-query : CREATE TABLE configuration ( configuration_id int(11) NOT NULL auto_increment, configuration_title varchar(64) NOT NULL default '', configuration_key varchar(64) NOT NULL default '', configuration_value varchar(255) NOT NULL default '', configuration_description varchar(255) NOT NULL default '', configuration_group_id int(11) NOT NULL default '0', sort_order int(5) default NULL, last_modified datetime default NULL, date_added datetime NOT NULL default '0000-00-00 00:00:00', use_function varchar(255) default NULL, set_function varchar(255) default NULL, PRIMARY KEY (configuration_id) ) TYPE=MyISAM MySQL said: Table 'configuration' already exists any ideas?? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.