Page 1 of 1
phpmyadmin not in repository (Request)
Posted: Sat Oct 26, 2019 11:29 am
by brianm
After installing MX-19 on my test server I discovered that I could not find phpmyadmin in any of the repositories.
I have eventually installed it manually, but it was a bit of a struggle.
Could I please make a request that phpmyadmin be included in the repository. I'm sure I won't be the only person that misses it.
I'm not sure if this is the correct way to make this request, please let me know if I need to ask somewhere else.
Many thanks...
Brian M.
Re: phpmyadmin not in repository (Request)
Posted: Sat Oct 26, 2019 12:27 pm
by peregrine
I also need this
Re: phpmyadmin not in repository (Request)
Posted: Sat Oct 26, 2019 2:47 pm
by timkb4cq
Phpmyadmin 4.9.1 with its not-in-debian-buster dependencies is now available in the MX-19 Test repository.
While recent versions of phpmyadmin are not yet in Debian or Ubuntu, I found the packaging here:
https://salsa.debian.org/phpmyadmin-team (Salsa is a collaborative platform for Debian devs & outside developers to work together).
Given that it hasn't hit Debian Experimental yet I expect there will be ongoing tweaks - but it does build and install.
I've never used PHP nor any sql database so I'm not a good person to evaluate whether it works properly. Please leave feedback if you try this set of packages
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 6:30 am
by hadisur_rahman
timkb4cq wrote: ↑Sat Oct 26, 2019 2:47 pm
Phpmyadmin 4.9.1 with its not-in-debian-buster dependencies is now available in the MX-19 Test repository.
While recent versions of phpmyadmin are not yet in Debian or Ubuntu, I found the packaging here:
https://salsa.debian.org/phpmyadmin-team (Salsa is a collaborative platform for Debian devs & outside developers to work together).
Given that it hasn't hit Debian Experimental yet I expect there will be ongoing tweaks - but it does build and install.
I've never used PHP nor any sql database so I'm not a good person to evaluate whether it works properly. Please leave feedback if you try this set of packages
Not working on my mx-linux19.2
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 6:42 am
by Jerry3904
Not working on my mx-linux19.2
Can you give some specifics that the packagers could try to understand what is happening? Did you try launching it in a terminal so the terminal output could be analyzed?
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 8:12 am
by fehlix
Just installed apache,mysql, php vi MXPI ->pop.apps:
server.png
and phpmyadmin installed via MXPI->MX testrepo works perfectly here:
phpmyadmin-login.png
create_db.png
If it is not working for you, you might give some indications, what you have done and what is not working.
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 8:18 am
by hadisur_rahman
fehlix wrote: ↑Sat Aug 22, 2020 8:12 am
Just installed apache,mysql, php vi MXPI ->pop.apps:
server.png
and phpmyadmin installed via MXPI->MX testrepo works perfectly here:
phpmyadmin-login.png
create_db.png
If it is not working for you, you might give some indications, what you have done and what is not working.
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 8:25 am
by peregrine
I have been using phpMyAdmin on my 19.2 since MX-19 was released. After you get it installed, you may find when you go to phpmyadmin , you can login with the password you set during the install but the user has no privileges.
I googled and found a fix:
Code: Select all
The fix was by reconfiguring phpmyadmin, and by answering some interactive questions.
sudo dpkg-reconfigure phpmyadmin
<Ok>
Reinstall database for phpmyadmin: <Yes>
Connection method for MySQL database server for phpmyadmin: TCP/IP
Host name of the MySQL database server for phpmyadmin: localhost
Port number for the MySQL service: 3306
MySQL database name for phpmyadmin: phpmyadmin
<Ok>
MySQL username for phpmyadmin: [Your MYSQL ADMIN USERNAME]
MySQL application password for phpmyadmin: [ANY PASSWORD YOU WANT]
Password confirmation: pass
Name of the database’s administrative user: [Your MYSQL ADMIN USERNAME]
Web server to reconfigure automatically: apache2
An error occurred while installing the database: ignore
Now you can connect into phpmyadmin (localhost/phpmyadmin) using your chosen username and password and you have the privileges you need
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 8:38 am
by timkb4cq
Phpmyadmin 4.9.5 is now in buster-backports. That version uses php-phpmyadmin-motranslator 5.0.0-2.
The 4.9.1 version I built for MX Test last year was built against a 4.x version of php-phpmyadmin-motranslator.
Either disable the the buster-backports repo to install the MX Test version, or better yet, install the newer buster-backports version.
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 8:57 am
by fehlix
timkb4cq wrote: ↑Sat Aug 22, 2020 8:38 am
Phpmyadmin 4.9.5 is now in buster-backports. That version uses php-phpmyadmin-motranslator 5.0.0-2.
The 4.9.1 version I built for MX Test last year was built against a 4.x version of php-phpmyadmin-motranslator.
Either disable the the buster-backports repo to install the MX Test version, or better yet, install the newer buster-backports version.
Seems to work nicely, also I upgraded all phpmyadmin related ones to buster-backports:
Code: Select all
php-phpmyadmin-motranslator 5.0.0-1~bpo10+1
php-phpmyadmin-shapefile 2.1-3~bpo10+1
php-phpmyadmin-sql-parser 4.6.1-2~bpo10+1
phpmyadmin 4:4.9.5+dfsg1-2~bpo10+1
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 9:31 am
by hadisur_rahman
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 9:53 am
by richb
Moderator
Please do not double post. If you want to add information, edit your first post.
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 9:56 am
by hadisur_rahman
richb wrote: ↑Sat Aug 22, 2020 9:53 am
Moderator
Please do not double post. If you want to add information, edit your first post.
Sorry pardon me, it,s not double actually, thanks
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 9:57 am
by fehlix
peregrine wrote: ↑Sat Aug 22, 2020 8:25 am
I have been using phpMyAdmin on my 19.2 since MX-19 was released. After you get it installed, you may find when you go to phpmyadmin , you can login with the password you set during the install but the user has no privileges.
I googled and found a fix:
Code: Select all
The fix was by reconfiguring phpmyadmin, and by answering some interactive questions.
sudo dpkg-reconfigure phpmyadmin
<Ok>
Reinstall database for phpmyadmin: <Yes>
Connection method for MySQL database server for phpmyadmin: TCP/IP
Host name of the MySQL database server for phpmyadmin: localhost
Port number for the MySQL service: 3306
MySQL database name for phpmyadmin: phpmyadmin
<Ok>
MySQL username for phpmyadmin: [Your MYSQL ADMIN USERNAME]
MySQL application password for phpmyadmin: [ANY PASSWORD YOU WANT]
Password confirmation: pass
Name of the database’s administrative user: [Your MYSQL ADMIN USERNAME]
Web server to reconfigure automatically: apache2
An error occurred while installing the database: ignore
Now you can connect into phpmyadmin (localhost/phpmyadmin) using your chosen username and password and you have the privileges you need
That's probaly a nicer way, than I have done:
So just for the record, here my way:
Mainly, I need to grand the existing phpmyadmin user a bit more priveldeges.
Which I done by opening mysql as mysql-user "root". But as mysql-user "root" is set to no-password authetication, I need first temporary,
give that user a password and later remove again:
Eg. this way:
sudo mysqladmin -u root -p password "root"
Enter password:
Current mysql-user "root" password is "" (empty), so you hit "Enter"
Now I enter (only temprary) the same password within:
Code: Select all
sudo cat /etc/mysql/debian.cnf
[client]
host = localhost
user = root
password = root
...
Now I can open PhpMyAdmin as user mysql-root, and grand the mysql-user phpmayadmin privs.
After done:
I reset: mysql-root password again to empty:
sudo mysqladmin -u root -p password ""
Enter password:
(Here enter the temporary changed one)
and empty out the password line in /etc/mysql/debian.cnf in oder to take away password authentication for mysql-root
Code: Select all
sudo cat /etc/mysql/debian.cnf
[client]
host = localhost
user = root
password =
...
Sure nothing for the beginner...
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 10:00 am
by hadisur_rahman
peregrine wrote: ↑Sat Aug 22, 2020 8:25 am
I have been using phpMyAdmin on my 19.2 since MX-19 was released. After you get it installed, you may find when you go to phpmyadmin , you can login with the password you set during the install but the user has no privileges.
I googled and found a fix:
Code: Select all
The fix was by reconfiguring phpmyadmin, and by answering some interactive questions.
sudo dpkg-reconfigure phpmyadmin
<Ok>
Reinstall database for phpmyadmin: <Yes>
Connection method for MySQL database server for phpmyadmin: TCP/IP
Host name of the MySQL database server for phpmyadmin: localhost
Port number for the MySQL service: 3306
MySQL database name for phpmyadmin: phpmyadmin
<Ok>
MySQL username for phpmyadmin: [Your MYSQL ADMIN USERNAME]
MySQL application password for phpmyadmin: [ANY PASSWORD YOU WANT]
Password confirmation: pass
Name of the database’s administrative user: [Your MYSQL ADMIN USERNAME]
Web server to reconfigure automatically: apache2
An error occurred while installing the database: ignore
Now you can connect into phpmyadmin (localhost/phpmyadmin) using your chosen username and password and you have the privileges you need
got this error.
Code: Select all
➜ ~ sudo dpkg-reconfigure phpmyadmin
/usr/sbin/dpkg-reconfigure: phpmyadmin is broken or not fully installed
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 10:12 am
by timkb4cq
In order to install the new phpmyadmin version from backports you must disable the MX Test repo. Your screenshot shows it's still enabled.
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 10:16 am
by hadisur_rahman
timkb4cq wrote: ↑Sat Aug 22, 2020 10:12 am
In order to install the new phpmyadmin version from backports you
must disable the MX Test repo. Your screenshot shows it's still enabled.
How to disable it?
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 10:22 am
by asqwerth
Open Repo Manager, 3rd tab, uncheck the test repo.
Then do a
sudo apt update
to refresh the package list again.
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 10:23 am
by timkb4cq
Synaptic -> Settings -> Repositories
Find the entries with testrepo in them and uncheck them. Save, Reload.
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 12:22 pm
by hadisur_rahman
timkb4cq wrote: ↑Sat Aug 22, 2020 10:23 am
Synaptic -> Settings -> Repositories
Find the entries with
testrepo in them and uncheck them. Save, Reload.
Screenshot-40.png
Re: phpmyadmin not in repository (Request)
Posted: Sat Aug 22, 2020 1:17 pm
by timkb4cq
If you're still getting the error, try using aptitude
It will give you options to fix the problem. Choose one that doesn't remove a lot of programs, although removing php-myadmin related packages could be the key to getting a good install from backports.
Re: phpmyadmin not in repository (Request)
Posted: Mon Aug 24, 2020 3:01 am
by hadisur_rahman
timkb4cq wrote: ↑Sat Aug 22, 2020 1:17 pm
If you're still getting the error, try using aptitude
It will give you options to fix the problem. Choose one that doesn't remove a lot of programs, although removing php-myadmin related packages could be the key to getting a good install from backports.
Code: Select all
➜ ~ sudo aptitude install -f
[sudo] password for hudacse6:
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Re: phpmyadmin not in repository (Request)
Posted: Mon Aug 24, 2020 3:02 am
by hadisur_rahman
Still not opening the localhost/phpmyadmin/ . Now, How to fully uninstall the phpmyadmin along with the pic files see on pic and again install it newly, make it work on my mx linux-19.2 ?
Screenshot-53.png
Re: phpmyadmin not in repository (Request)
Posted: Mon Aug 24, 2020 1:31 pm
by antiX-Dave
Are there plans for phpmyadmin to be back in the debian official repositories?
Approximately 2 months ago I put together a debian server and the phpmyadmin package was a metapackage that installed adminer (this is no longer the case).
Seeing this made me wonder if it was a conscious change over decision (Similar to mysql and mariadb was my thought). I did not look any further into this as I have not been using phpmyadmin myself.
Edit: sorry if this has already been answered, I did not realize this was a multipage thread
Re: phpmyadmin not in repository (Request)
Posted: Mon Aug 24, 2020 5:33 pm
by fehlix
antiX-Dave wrote: ↑Mon Aug 24, 2020 1:31 pm
Are there plans for phpmyadmin to be back in the debian official repositories?
Approximately 2 months ago I put together a debian server and the phpmyadmin package was a metapackage that installed adminer (this is no longer the case).
Seeing this made me wonder if it was a conscious change over decision (Similar to mysql and mariadb was my thought). I did not look any further into this as I have not been using phpmyadmin myself.
Edit: sorry if this has already been answered, I did not realize this was a multipage thread
Yes, phpmyadmin from mx-testrepo and also from buster-buckports do work out of the box with the apache-mysql-php installer with MXPI,
as mention in post #6 and #10 and probably some more. I have no clue what OP did with his system, as for a normal system it just a couple of clicks to get installed and running. OK, table-creation privileges to grant might be a bit trickier, as mentioned in #14