Page 1 of 2
Can I install nuBuilder Forte in a Shared Cpanel account?
Posted: Mon Jan 15, 2018 2:18 pm
by Celson
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!
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Mon Jan 15, 2018 2:42 pm
by toms
I'm using nuBuilder in a shared cPanel hosting account. What errors do you get when importing the sql file?
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Mon Jan 15, 2018 4:11 pm
by Celson
Code: Select all
#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Mon Jan 15, 2018 5:14 pm
by Celson
I just modified the statement on sql file using sed on terminal as below:
Code: Select all
sed -i 's/CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW/CREATE VIEW/g' nubuilder4.sql
After this change the file can be imported with no problems.
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Mon Jan 15, 2018 5:40 pm
by admin
Celson,
Thanks for letting people know.
Steven
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Mon Jan 15, 2018 6:15 pm
by Celson
Steve, I just can't guarantee this piece I've stripped from clause will not cause some problem on nuBuilder.
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Tue Jan 16, 2018 12:10 am
by toms
Celson wrote:I just modified the statement on sql file using sed on terminal as below:
Code: Select all
sed -i 's/CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW/CREATE VIEW/g' nubuilder4.sql
After this change the file can be imported with no problems.
How is this different from the solution given by me in this thread?
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.
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Tue Jan 16, 2018 1:33 pm
by Celson
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 ...
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.
I did'nt understand and stripped only part of the clause (
ALGORITHM=UNDEFINED) so the error was not solved.
Then I tried again, by erasing all but the
CREATE VIEW, and it worked like a charm.
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Tue Jan 16, 2018 1:44 pm
by toms
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
Re: Can I install nuBuilder Forte in a Shared Cpanel account
Posted: Tue Jan 16, 2018 1:59 pm
by admin
Its just part of a phpMyAdmin export.
Steven