Page 1 of 1

can't access phpmyadmin

Posted: Fri Feb 13, 2015 1:03 am
by maszd
Hi,
iam follow this documentation : http://vestacp.com/docs/#how-to-install ... hel-centos
its success but i can't access phpmyadmin and show error 403 Forbidden Unfortunately, you do not have permission to view this. I am use centos 6.6 x86..other question any tutorial to replace mysql to mariadb on centos 6?
Any help would be appreciated
regards,
maszd

Re: can't access phpmyadmin

Posted: Sat Feb 14, 2015 4:43 pm
by skurudo
May be when you did "yum remove" you unistall phpmyadmin too? Then just install it again with "yum install"

Re: can't access phpmyadmin

Posted: Sun Feb 15, 2015 12:04 am
by maszd
skurudo wrote:May be when you did "yum remove" you unistall phpmyadmin too? Then just install it again with "yum install"
oke i will try it
other question how to replace mysql to mariadb on centos?
thanks for your help.
regards.

Re: can't access phpmyadmin

Posted: Sun Feb 15, 2015 4:30 pm
by skurudo
maszd wrote:other question how to replace mysql to mariadb on centos?
Heh... there is little guide, but it seems don't work for you? To understand wht, need to see, what's in logs and happen, when do you install mariadb.

Re: can't access phpmyadmin

Posted: Tue Feb 17, 2015 9:24 pm
by aksint
maszd wrote:
skurudo wrote:May be when you did "yum remove" you unistall phpmyadmin too? Then just install it again with "yum install"
oke i will try it
other question how to replace mysql to mariadb on centos?
thanks for your help.
regards.
It has taken me some time to figure out how to replace MySQL with MariaDB without corrupting phpmyadmin and roundcube.

I have created a script to replace MySQL to MariaDB-Galera-cluster in vestaCP
(only tested on CentOS 6.6 x86_64 minimal install with only VestaCP installed)

I have adapted it a bit for MariaDB-server installation without Galera.

# After installing CentOS and VestaCP do the following:

wget http://dl.aksint.nl/tomariadb.sh

# edit the script and fill in a password after MYPWD=
# then execute it

sh tomariadb.sh

# when installation is done logon to your MariaDB server with the password you set above. You will see that MySQL has been replaced

mysql -u root -p


Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 17
Server version: 10.0.16-MariaDB-log MariaDB Server

Copyright (c) 2000, 2014, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>

Re: can't access phpmyadmin

Posted: Thu Mar 05, 2015 8:42 pm
by sixthcore
@aksint thanks so much man! This is epic. I created a forum account purely to tell you that!

Re: can't access phpmyadmin

Posted: Thu Mar 19, 2015 11:59 pm
by maszd
thank you very much @aksint :)