Skip to main content
9 votes
Accepted

How to obtain phpMyAdmin version from command line?

If you’re also following the best practice of using packages, dpkg -l phpmyadmin will tell you which version of the phpmyadmin package is installed (assuming it is installed). If you only want the ...
Stephen Kitt's user avatar
5 votes
Accepted

Accessing PHPMyAdmin as installed by its distro package-index from the domain of each website

In fact, Debian installs the majority of PMA into /usr/share/phpmyadmin which is the LSB standard correct location for it. But that's a detail that's not terribly relevant to the premise of your ...
Shadur-don't-feed-the-AI's user avatar
5 votes

Accessing PHPMyAdmin as installed by its distro package-index from the domain of each website

The Debian PHPMyAdmin packages install the main contents under /usr/share/phpmyadmin. That is made available through web server configuration; for example, if you’re using Apache HTTPD, /etc/...
Stephen Kitt's user avatar
2 votes

Run a specific function from a file that contains 2 or more functions, in a detached tmux session

Use at; tdm() { chmod -R a-x,a=rX,u+w "$drt"/phpmyadmin/ && \ echo "chmod -R 000 \"$drt\"/phpmyadmin/" | at "now + 2h" } or sleep with nohup tdm() { chmod -R a-x,a=rX,u+w "$drt"/...
user1133275's user avatar
  • 5,711
2 votes

Is there any alternate method to install phpmyadmin in phytec board other than using 'sudo apt-get install phpmyadmin'?

You ask, "Is there any alternate method to install phpmyadmin other than using commands?" No.
Chris Davies's user avatar
2 votes

Unable to install phpmyadmin

First of all, the error you are getting is because some script is trying to execute mysql with no password as root: either you are root or you are using sudo: ERROR 1045 (28000): Access denied for ...
Kramer's user avatar
  • 176
2 votes

Map /phpmyadmin to a different folder in apache with Centos 7

You can actually put the folder anywhere as long as there is r-x permissions(not sure about write permissions). For Apache v1: Edit /etc/httpd/conf-available/phpmyadmin.conf or wherever the httpd ...
mathmaniac88's user avatar
2 votes
Accepted

phpmyadmin : Depends: php-phpmyadmin-sql-parser (< 5~~) but 5.4.0-1 is to be installed

You’re running into issues because you have the unstable repository configured, and phpmyadmin isn’t installable there currently. phpmyadmin isn’t available in Debian 10, but it is available and ...
Stephen Kitt's user avatar
2 votes
Accepted

phpMyAdmin don't have permission to read file

You web server must be able to read file which contains DB credentials. Since it's not a good practice to start services as root user, you should change ownership of db.ini file: chown <user>:...
mrc02_kr's user avatar
  • 2,023
2 votes
Accepted

Apparent different sizes when attempting to export a particular mysql database

Do quick testing; export a table in PhpMyadmin and with the following command in terminal. mysqldump -u $UserName -p database table > /tmp/table.sql Then, open both SQL files with a text-editor; ...
Siva's user avatar
  • 9,252
2 votes

How to obtain phpMyAdmin version from command line?

Using grep-status from dctrl-tools tool: grep-status -sPackage,Version -PX 'phpmyadmin' sample output: Package: phpmyadmin Version: 4:4.9.5+dfsg1-2 grep-status manpages
GAD3R's user avatar
  • 69.9k
1 vote

Can't login to phpMyAdmin on Centos, Google Cloud

The answer can be found on the comment of this post: https://www.digitalocean.com/community/questions/cannot-log-in-to-the-mysql-server-without-code-using-phpmyadmin-on-centos7 "Some applications ...
LosmiNCL's user avatar
  • 121
1 vote
Accepted

phpMyAdmin and MySQL 8.0 gives error

Those errors are being generated by the Mysql server itself, not by phpMyAdmin, which just connects then passes your commands through and displays the results. Its the command itself that is incorrect....
Digdilem's user avatar
1 vote

How can I run mariadb and phpmyadmin podman containers and access my database from phpmyadmin?

I managed to connect to the database from phpmyadmin. Create pod: podman pod create \ --name db0 \ --publish 8080:80 \ --publish 3306:3306 Run database: podman run --name mariadb0 \ --pod db0 \ -...
CHEWKOK's user avatar
  • 25
1 vote

Restore mysql db from AWS AMI?

To resolve this issue the only thing you have to do is below: just edit /etc/mysql/mysql.conf.d/mysqld.cnf file using whichever editor you like and update the bind address using whichever editor you ...
Hrish's user avatar
  • 95
1 vote

Is there a maintainable way to install a recent version of phpMyAdmin on Ubuntu 18.04

If Ubuntu is shipping packages that are not compatible with each other, that is a bug. It has apparently been reported, but unfortunately there is not yet an official fix. PHP does have its own ...
GracefulRestart's user avatar
1 vote
Accepted

One PhpMyAdmin per virtualhost

I made this question in more than 1 stackexchange site because in 2 sites people told that was the wrong site, and I forgot this one. But the same question is solved here. Below is a copy of the ...
Jordi Huertas's user avatar
1 vote

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) but I have a password in place

Configure/create a /root/.my.cnf file and put the following contents: [client] user=root password=yourPasswordHere Then re-run the installation process. The issue is that phpmyadmin is attempting to ...
utdrmac's user avatar
  • 111
1 vote
Accepted

PhpMyadmin times out with small SQL file

I had to edit apache2 main config and incrase TimeOut. TimeOut 600
Delirium's user avatar
  • 378
1 vote
Accepted

How to setup phpmyadmin?

Your configuration looks strange to me but I've never worked with arch. I would suggest: Method 1 (Reinstall): Backup your MySQL Database! pacman -Rns phpmyadmin pacman -S phpmyadmin Be sure to ...
bortran's user avatar
  • 126
1 vote
Accepted

Ensuring Alias /phpmyadmin /usr/share/phpmyadmin is frequent in all Apache virtual hosts whatsoever

As I understand it, the package-provided configuration in phpmyadmin adds the alias in all virtual hosts: it adds a top-level Alias /phpmyadmin /usr/share/phpmyadmin entry in the Apache configuration....
Stephen Kitt's user avatar
1 vote

Map /phpmyadmin to a different folder in apache with Centos 7

Just create symbolic link to your original phpmyadmin folder in /var/www/html => ln -s {path of phpmyadmin} /var/www/html/phpmyadmin folder and configure httpd to Allow symbolic links with ...
Elbek's user avatar
  • 121
1 vote

Run a specific function from a file that contains 2 or more functions, in a detached tmux session

If I understand what you are trying to do, you're using a tool too powerful for the job. Instead of spawning a dedicated tmux session just for a single simple script, run that script from the command ...
user1404316's user avatar
  • 3,138
1 vote

rm or wget fail in script based on a variable with a glob

Suggestion for alternative script: #!/bin/sh -ex destdir="/var/www/html/phpmyadmin" tmpdir=$(mktemp -d) trap 'rm -rf "$tmpdir"' EXIT # remove temporary directory on termination wget -O "$tmpdir/...
Kusalananda's user avatar
  • 356k
1 vote
Accepted

rm or wget fail in script based on a variable with a glob

The unzip command you used extracts the archive in the directory unzip runs in, not where the archive lies in. You could either change to the directory containing the archive first, or use the -d ...
ilkkachu's user avatar
  • 148k
1 vote
Accepted

What's the meaning of these debconf questions?

I tested and can confirm: phpmyadmin/mysql/admin-pass is the mysql root account password phpmyadmin/mysql/app-pass (and phpmyadmin/app-password-confirm) is the phpmyadmin@localhost account password I ...
Daishi's user avatar
  • 196
1 vote

Cannot install phpmyadmin, getting conflict errors

You probably have 2 repos enabled (base/epel and Remi maybe?) make sure to disable one of them.
Rabin's user avatar
  • 3,991

Only top scored, non community-wiki answers of a minimum length are eligible