[Skip to main content](#vessel-content)

#   MySQL problem after transfer to a new domain

##

- **[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")**
- [![gasoline's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6454.jpg)](/forum/user/6454-gasoline "View gasoline's Profile") Topic Author
- [ Offline](/forum/user/6454-gasoline)
- Still searching ...

Less More

- Posts: 247
- Thank you received: 9
-
-
-
- [](https://gasoline.nl)
-

14 years 5 months ago -  14 years 5 months ago [\#49551](#49551) by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile")  *[MySQL problem after transfer to a new domain](/forum/2-general-talk-about-hikashop/49551-mysql-problem-after-transfer-to-a-new-domain#49551 "I'm moving a Joomla site with Hikashop to a new domain. After import of the old dbase to the new domain area I get this error message:  I can see that f.e. the table xxxx&#95;hikashop&#95;click&#95;view is not there in the new environment.  What is going wrong. I don't get it?")* was created by *[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")*

I'm moving a Joomla site with Hikashop to a new domain. After import of the old dbase to the new domain area I get this error message:
Code:

Error SQL query: Documentation CREATE ALGORITHM = UNDEFINED DEFINER = &#96;yongo_sarah&#96;@&#96;localhost&#96; SQL SECURITY DEFINER VIEW &#96;xxxx_hikashop_click_view&#96; AS SELECT &#96;a&#96;.&#96;user_id&#96; AS &#96;user_id&#96; , sum( &#96;b&#96;.&#96;click_partner_price&#96; ) AS &#96;click_price&#96; FROM ( &#96;xxxx_hikashop_user&#96; &#96;a&#96; LEFT JOIN &#96;xxxx_hikashop_click&#96; &#96;b&#96; ON ( ( ( &#96;a&#96;.&#96;user_id&#96; = &#96;b&#96;.&#96;click_partner_id&#96; ) AND ( ( CASE WHEN ( &#96;a&#96;.&#96;user_currency_id&#96; =0 ) THEN 1 ELSE &#96;a&#96;.&#96;user_currency_id&#96; END ) = &#96;b&#96;.&#96;click_partner_currency_id&#96; ) ) ) ) WHERE ( ( &#96;a&#96;.&#96;user_partner_activated&#96; =1 ) AND ( &#96;b&#96;.&#96;click_partner_paid&#96; =0 ) ) GROUP BY &#96;b&#96;.&#96;click_partner_id&#96; ; MySQL said: Documentation #1227 - Access denied; you need the SUPER privilege for this operation

I can see that f.e. the table xxxx_hikashop_click_view is not there in the new environment.

What is going wrong. I don't get it?

---

I'll keep on trying!

Last edit: 14 years 5 months ago by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ5NTUxLW15c3FsLXByb2JsZW0tYWZ0ZXItdHJhbnNmZXItdG8tYS1uZXctZG9tYWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 5 months ago [\#49608](#49608) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: MySQL problem after transfer to a new domain](/forum/2-general-talk-about-hikashop/49551-mysql-problem-after-transfer-to-a-new-domain#49608 "I'm moving a Joomla site with Hikashop to a new domain. After import of the old dbase to the new domain area I get this error message:  I can see that f.e. the table xxxx&#95;hikashop&#95;click&#95;view is not there in the new environment.  What is going wrong. I don't get it?")*

The problem is written here:
Access denied; you need the SUPER privilege for this operation

Your hosting company does not allow you to create views.
Just remove the view tables from the mysql export and run the import and you won't have the problem. These views are only used for the calculations of affiliate fees on some screens. If they aren't there, you won't get the calculations everywhere, but you will still be able to use the affiliate system.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ5NTUxLW15c3FsLXByb2JsZW0tYWZ0ZXItdHJhbnNmZXItdG8tYS1uZXctZG9tYWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.076 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
