Skip to Content Skip to Menu

[SOLVED] 1050 Table xz685_comprofiler already exists

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
9 years 11 months ago - 9 years 11 months ago #253668 by carin
I recently updated 1.9 to 2.0. When I run the CB db checker CB stops working and I get this:

1050 Table '.\kiwiseb\xzz_comprofiler' already exists SQL=ALTER TABLE `xzz_comprofiler` ENGINE = 'InnoDB'

How do I fix that? thx

CB 2.0
Last edit: 9 years 11 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48501
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253677 by krileon
Replied by krileon on topic 1050 Table xz685_comprofiler already exists
Navigate to _comprofiler_fields within phpmyadmin and ensure none of your fields "table" columns have the actual table prefix. They should all be "#__" and not "xzz_".


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
9 years 11 months ago #253679 by carin
They all are "#__". What next?

CB 2.0

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48501
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253683 by krileon
Replied by krileon on topic 1050 Table xz685_comprofiler already exists
Ensure your MYSQL user that you've supplied the username/password to Joomla has correct permissions within phpmyadmin. Alter table should not throw a table already exists error as that doesn't make any sense unless a function permission is being rejected. The alternative is to manually edit your CB database tables and change the Engine to Innodb (the tool is trying to change CBs engine to the now used Innodb). What MYSQL version do you have?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
9 years 11 months ago #253689 by carin
I cannot imagine this being a permission problem because no other component has a problem. I use 5.5.32 and PHP 5.4.19.

Anyway, would you be able to give my the SQL statement I would need to run for the manual update? I cannot go through each and every single CB table by hand. Thanks

CB 2.0

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48501
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253691 by krileon
Replied by krileon on topic 1050 Table xz685_comprofiler already exists

I cannot imagine this being a permission problem because no other component has a problem.

Depends on if your components run an ALTER TABLE query and if they output or suppress the error if it occurs. MYSQL version looks ok though. I was unable to duplicate your issue and the tool changed the engine from MyISAM to InnoDB fine.

Anyway, would you be able to give my the SQL statement I would need to run for the manual update? I cannot go through each and every single CB table by hand. Thanks

You only need to change CBs tables. There's no query to change the Engine for all of them in a single query. It has to be done table by table. The query to do this for one of the CB tables is provided in your error as follows.

Code:
ALTER TABLE `xzz_comprofiler` ENGINE = 'InnoDB'


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum