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 ...
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 ...
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/...
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"/...
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.
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 ...
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 ...
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 ...
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>:...
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; ...
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
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 ...
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....
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 \
-...
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 ...
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 ...
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 ...
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 ...
1
vote
Accepted
PhpMyadmin times out with small SQL file
I had to edit apache2 main config and incrase TimeOut.
TimeOut 600
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 ...
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....
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 ...
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 ...
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/...
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 ...
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 ...
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.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
phpmyadmin × 77mysql × 22
php × 20
apache-httpd × 13
centos × 11
debian × 9
ubuntu × 6
apt × 6
linux × 5
mariadb × 5
yum × 4
nginx × 4
php7 × 4
linux-mint × 3
upgrade × 3
symlink × 3
database × 3
bash × 2
shell-script × 2
text-processing × 2
arch-linux × 2
rhel × 2
security × 2
software-installation × 2
kali-linux × 2