[SOLUTION]
My machine configuration
- Ubuntu 16.04
- MySql 5.7.13
- PHP 7.0.8
- Apache 2.4.18
Step 01:
Edit the file /etc/dbconfig-common/phpmyadmin.conf, changing
Step 02:
After edit the file and save it, if you are still on the dbconfig-common wizard select 'retry', if not run
Step 03:
When configuration window asks what you want to do with existing configuration file, choose 'Keep the local version currently installed'.
In this point you can check the differences and only must exist the ones that you made in the file.
Step 01:
Edit the file /etc/dbconfig-common/phpmyadmin.conf, changing
dbc_dbport=''
to dbc_dbport='0'
Step 02:
After edit the file and save it, if you are still on the dbconfig-common wizard select 'retry', if not run
sudo dpkg-reconfigure phpmyadmin
(choose 'Yes'
when ask you if you want to Reinstall database for phpmyadmin), and
continue normally without change any value, if you want change some
value, do it in the file that you edit before.Step 03:
When configuration window asks what you want to do with existing configuration file, choose 'Keep the local version currently installed'.
In this point you can check the differences and only must exist the ones that you made in the file.