This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Fresh install gives phpMyAdmin error
#1
Fresh install gives phpMyAdmin error
I am testing around with Sentora on a VPS of mine.
But i got an phpMyAdmin error after an fresh install, i needed to upgrade to MySQL 5.5.0 or later.
Sentora is using 5.1.73..
[Image: s7HrvUB.png]

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#2
RE: Fresh install gives phpMyAdmin error
(08-10-2014, 07:26 PM)Ron-e Wrote: I am testing around with Sentora on a VPS of mine.
But i got an phpMyAdmin error after an fresh install, i needed to upgrade to MySQL 5.5.0 or later.
Sentora is using 5.1.73..
[Image: s7HrvUB.png]

The script should only install the versions, and packages that your linux has. But below is a work around.

What OS are you running, Cent or Ubuntu?

If you are running CentOS you can install the new mysql using the replace.

Code:
sudo service mysqld stop

# install repo webtatic

yum -y install http://mirror.webtatic.com/yum/el6/latest.rpm


# install yum-replace

yum -y install yum-plugin-replace

# update MySQL

yum -y replace mysql --replace-with=mysql55

sudo service mysqld start

Steps taken from @andykimpe, from the old ZpanelCP forums
Reply
Thanks given by:
#3
RE: Fresh install gives phpMyAdmin error
(The other option is to downgrade phpMyAdmin)

Perform the following to downgrade:

Change directories to phpMyAdmin directory
Code:
cd /etc/zpanel/panel/etc/apps

Move current to old directory
Code:
mv phpmyadmin phpmyadmin_old

Download phpMyAdmin from the following location (could be newer versions, check on main site):
Code:
wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/4.0.10.1/phpMyAdmin-4.0.10.1-all-languages.tar.gz/download

Extract the package
Code:
tar -zxvf phpMyAdmin-*.tar.gz

Clean up
Code:
rm phpMyAdmin-*.tar.gz

Move extracted phpMyAdmin folder to its correct directory
Code:
mv phpMyAdmin-*/ /etc/zpanel/panel/etc/apps/phpmyadmin

Change permissions on directory and all subfolders and files
Code:
chmod 777 -R phpmyadmin/

Change ownership on directory and all subfolders and files
Code:
chown root:root -R phpmyadmin/

Copy phpMyAdmin config from old to new
Code:
cp phpmyadmin_old/config.inc.php phpmyadmin/config.inc.php

Clean up
Code:
rm -Rf phpmyadmin_old

Source: http://forums.zpanelcp.com/Thread-HOW-TO...PHPMyadmin

This worked for me

-DiscoWay
Reply
Thanks given by:
#4
RE: Fresh install gives phpMyAdmin error
^ Always make sure you remove the setup folder as well.
Code:
rm -Rf phpmyadmin/setup
Before posting, update your profile with your OS, Sentora version and server type!

Reply
Thanks given by:
#5
RE: Fresh install gives phpMyAdmin error
I'm supprised phpmyadmin requires a mysql version of 5.5 ... centos is using a stable securely backported version of mysql. I personally would be looking to make phpmyadmin work on the distro version of mysql rather than relying on external repos..

Alternatively look at installing MariaDB as a drop in replacement Smile

This needs raising as a bug on the installers repo over on github ...
Reply
Thanks given by:
#6
RE: Fresh install gives phpMyAdmin error
If you do not want to upgrade your MySql install or downgrade your phpMyAdmin you can alternately just modify the common.inc.php file so phpMyAdmin will stop complaining.

In CentOS 6 go to:
/etc/zpanel/panel/etc/apps/phpmyadmin/libraries/common.inc.php

If you open this up, there is a line:

Line 994
Code:
if (PMA_MYSQL_INT_VERSION < 50500) {

Change it to say:
Code:
if (PMA_MYSQL_INT_VERSION < 50100) {

Now you can use phpMyAdmin without it complaining. Smile
Reply
Thanks given by:
#7
RE: Fresh install gives phpMyAdmin error
Check out the latest merged changes, this has been resolved for the meantime!
Follow me on Twitter or find out more about me  at bobbyallen.me
Reply
Thanks given by:
#8
RE: Fresh install gives phpMyAdmin error
hmm :/
Sentora 1.0.3 on [Image: DO_Logo_Horizontal_Blue-3db19536.png]

-= Github =-  -= My Repo =-

My Modules
Reply
Thanks given by:
#9
RE: Fresh install gives phpMyAdmin error
(08-12-2014, 06:14 PM)jacobg830 Wrote: ^ Always make sure you remove the setup folder as well.
Code:
rm -Rf phpmyadmin/setup

[Image: 1432573713.jpg]
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 6 ,829 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 28 ,357 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,596 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 7 Guest(s)