My phpMyAdmin stopped connecting to mySQL suddenly with the following error:
Error MySQL said: Documentation
Cannot connect: invalid settings. phpMyAdmin tried to connect to the
MySQL server, and the server rejected the connection. You should check
the host, username and password in your configuration and make sure
that they correspond to the information given by the administrator of
the MySQL server.
I am running MAMP with php7 on a MAC.
I have checked my config.inc.php setting and both user and password
are set to root.
I have checked the httpd.conf file and changed the port from 8888 to 80
I have also reverted back on mamp controlpanel from php 7 to php
5.6.10.
And always stopped apache and restarted between changes. None of these changes have had any effect. Really don't understand why it suddenly stopped working.
I can still access mysql from Sequel Pro and MySQLWorkbench.
Thankful for any suggestions :)
Related
I have installed XAMPP on windows 10 but cannot open phpMyAdmin. I had to change Apache port 443 to 4433 because of conflicts and now both apache and mysql are running. When I click on phpMyAdmin on my server it gives me the following message in a pink box:
MySQL said: Documentation
Cannot connect: invalid settings.
mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
Connection for controluser as defined in your configuration failed.
mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
I've read the questions on similar problems but they mostly happened when someone changed the password, but for my case, the user is set to root and the password is empty both in MySQL server connection and in the config.inc.php file. I have no clue where to look for the problem.
What version is your XAMPP? Try going to task manager, locate mysqlI and end task. Now close the XAMPP window and open it again. Go to Mysql and try test the connection by connecting to the database on port 3306. If it gives en error check the error log in the XAMPP.
I am having an issue with logging into phpMyAdmin.
I have simply install xampp.
when i launch the Xampp server it show me port error for 3306
so i have change the port from 3306 to 3307
in my.ini file and
config -> Service and Port Settings -> Mysql port Tab
Service Setting of Xampp Control Panel
Then i was able to start SQL server
when i try to open PhpMyadmin it show me error like this
than i change in config.inc.php
config.inc.php
Now when i try to open PhpMyadmin it ask me for username and password
Username - root
Password - Null
it show me error like this
Error while login in PhpMyadmin
Please Help me to find an issue
Thanks in advance
Since you are in the very early stages of using xampp and
NO development has been completed;
Uninstall xampp and remove ALL the MySQL* programs, Shutdown/Restart Windows 10.
Reinstall xampp. Verify functionality.
For additional assistance, view my Profile, Network profile, for contact information including my Skype ID and get in touch with me, please.
I have searched in internet and stackexchange nothing worked for me. That's why I have created the same question again.
I am using php 5.6
I am using Xampp
Errors:
1. MySQL said:
Cannot connect: invalid settings.
Connection for controluser as defined in your configuration failed.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
Connection for controluser as defined in your configuration failed
Under my Xampp server MySQL started
Help me to login in to my phpmyadmin and solve this problem.
Thank in advance
Welcome to phpMyAdmin
Error
MySQL said: Documentation
Cannot connect: invalid settings.
Connection for controluser as defined in your configuration failed.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
if you use xampp you should turn on the mysql and apache
Im trying to learn developing a simple website using Joomla 3.4.4. I Installed Xampp and joomla. I changed the ports in 'apache' and 'mySQL' from Xampp Control panel. (changing the port httpd.conf file to 8080, port in httpd-ssl.conf file to 4433 and respective one in mySQL to 33066). I can access localhost:8080 and view the home page. But when installing the the joomla on xampp server (after extracting the joomla files to htdocs folder) the first installation page is perfectly loaded and information is asked about the site. When the But in 'database configuration' phase's progress bar never ends. I can't go beyond that. Information provided in database configuration phase is as follow:
database type: MySQL
Host Name : localhost:8080
User Name : root
password : password
Database Name : joomla17
Table Prefix : jj_
There's another problem that was arisen with this installation. Even though I can access localhost:8080 page, I can access phpMyAdmin. It says these errors:
MySQL said: Documentation
Cannot connect: invalid settings.
Connection for controluser as defined in your configuration failed.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
Please Help me with these issues.