Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Can I install nuBuilder Forte in a Shared Cpanel account?
-
- Posts: 36
- Joined: Wed Jan 27, 2016 12:35 pm
- Location: Salvador, Bahia - Brazil
Can I install nuBuilder Forte in a Shared Cpanel account?
I'm affraid I cannot install nuBuilder Forte in my Cpanel hosting account because when I try to import the database I see some errors related to the need of a root MySQL user. I even tried to change the sql file to my MySQL db user on cpanel with no success.
This is my post about this subject
http://forums.nubuilder.cloud/viewtopic.php?f=19&t=9192
Can someone confirm that is not possible to use nuBuilder Forte in a shared Cpanel hosting account?
Thank you in advance!
This is my post about this subject
http://forums.nubuilder.cloud/viewtopic.php?f=19&t=9192
Can someone confirm that is not possible to use nuBuilder Forte in a shared Cpanel hosting account?
Thank you in advance!
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Can I install nuBuilder Forte in a Shared Cpanel account
I'm using nuBuilder in a shared cPanel hosting account. What errors do you get when importing the sql file?
-
- Posts: 36
- Joined: Wed Jan 27, 2016 12:35 pm
- Location: Salvador, Bahia - Brazil
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Code: Select all
#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation
-
- Posts: 36
- Joined: Wed Jan 27, 2016 12:35 pm
- Location: Salvador, Bahia - Brazil
Re: Can I install nuBuilder Forte in a Shared Cpanel account
I just modified the statement on sql file using sed on terminal as below:
After this change the file can be imported with no problems.
Code: Select all
sed -i 's/CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW/CREATE VIEW/g' nubuilder4.sql
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Celson,
Thanks for letting people know.
Steven
Thanks for letting people know.
Steven
-
- Posts: 36
- Joined: Wed Jan 27, 2016 12:35 pm
- Location: Salvador, Bahia - Brazil
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Steve, I just can't guarantee this piece I've stripped from clause will not cause some problem on nuBuilder.
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Can I install nuBuilder Forte in a Shared Cpanel account
How is this different from the solution given by me in this thread?Celson wrote:I just modified the statement on sql file using sed on terminal as below:
After this change the file can be imported with no problems.Code: Select all
sed -i 's/CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW/CREATE VIEW/g' nubuilder4.sql
http://forums.nubuilder.cloud/viewtopic.php?f=19&t=9192
If I understand correctly, "the command sed -i [..]"
Replaces
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW
with
CREATE VIEW
...and that's exactly what I proposed.
-
- Posts: 36
- Joined: Wed Jan 27, 2016 12:35 pm
- Location: Salvador, Bahia - Brazil
Re: Can I install nuBuilder Forte in a Shared Cpanel account
It's not a different solution. This is YOUR solution I just turned into a sed command in order to make it easy for other readers.
On first time I got your solution ...
Then I tried again, by erasing all but the CREATE VIEW, and it worked like a charm.
On first time I got your solution ...
I did'nt understand and stripped only part of the clause (ALGORITHM=UNDEFINED) so the error was not solved.You are right, I noticed that too. That's why I made a fresh install because at that time I had no idea what caused it. Having no root access in my DB, it would be best to have this "ALGORITHM=UNDEFINED.." removed.
Then I tried again, by erasing all but the CREATE VIEW, and it worked like a charm.
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Can I install nuBuilder Forte in a Shared Cpanel account
All right, thanks for the clarification!
BTW, I still don't understand why this ALGORITHM is there...Everytime I pull an update I need to remove it.
ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER
BTW, I still don't understand why this ALGORITHM is there...Everytime I pull an update I need to remove it.
ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Its just part of a phpMyAdmin export.
Steven
Steven