Page 9 of 9

Re: [FIX] phpmyadmin some feature/controluser

Posted: Fri Nov 16, 2018 11:58 am
by Bubblecatcher
[/quote]

Check if folder /var/lib/phpmyadmin/tmp exists and make chmod 777 for it.
[/quote]

It does exist,

I did cure this by doing

Code: Select all

mkdir /usr/share/phpmyadmin/tmp
chown www-data:www-data tmp
chmod 777 tmp

edit nano 
/etc/phpmyadmin/config.inc.php
add
$cfg['TempDir'] = 'tmp';
should i move tmp to
/var/lib/phpmyadmin/tmp

thanks

Re: [FIX] phpmyadmin some feature/controluser

Posted: Tue Apr 09, 2019 3:27 am
by fulltronservice
It's Working bro. Very Thanks <3

You saved me from re-installing the control panel.

If you need free hosting please contact me at WhatsApp: +58-424-2405521

Re: [FIX] phpmyadmin some feature/controluser

Posted: Thu Apr 25, 2019 12:24 am
by edica
Does the script work well? For CentOS 7.6, MariaDB 5.5.

Re: [FIX] phpmyadmin some feature/controluser

Posted: Wed Aug 07, 2019 4:02 am
by br5dy
THANK YOU SO MUCH for this script. A life saver.

I just ran it on Debian 9 and encountered a few issues as shown below.

Also, can you add an option to force SSL? Or maybe a separate script? Thanks!

Home page of phpMyAdmin at bottom:
Image

Clicking on a database and then the "Operations" tab:
Image

Clicking the "Find out why" on the previous image:
Image

Re: [FIX] phpmyadmin some feature/controluser

Posted: Mon Feb 03, 2020 5:18 pm
by Hades
I believe that all the previous options are not correct. To maintain the VestaCP structure, you only need to change the paths to the configuration files, as configured in the stock VestaCP.
To do this, edit TEMP_DIR and CONFIG_DIR in the file /usr/share/phpmyadmin/libraries/vendor_config.php
I found the information here:
https://devanswers.co/manually-upgrade-phpmyadmin/

--- RUS
Я считаю, что все предыдущие варианты не корректны. Для сохранения структуры VestaCP необходимо изменить только пути к файлам конфигураций, как это настроено в стоковой VestaCP.
Для этого нужно отредактировать TEMP_DIR и CONFIG_DIR в файле /usr/share/phpmyadmin/libraries/vendor_config.php
Информацию я нашёл здесь:
https://devanswers.co/manually-upgrade-phpmyadmin/

Re: [FIX] phpmyadmin some feature/controluser

Posted: Tue Aug 18, 2020 12:38 am
by alohadoubt
is this similar to cpanel? it will login phpmyadmin with the current user and see only the databases created by that user only?

Re: [FIX] phpmyadmin some feature/controluser

Posted: Tue Aug 18, 2020 1:28 am
by grayfolk
alohadoubt wrote:
Tue Aug 18, 2020 12:38 am
is this similar to cpanel? it will login phpmyadmin with the current user and see only the databases created by that user only?
No. You can create database and login with related credentials and view this database only or login as root user and view all databases from all users.