Download Free Software Gratis e Completos Webmaster Mocambique

:: Desenvolvimentos web :: => Webmaster => Tópico começado por: Candidosa2 em 20 de Abril de 2024, 14:54

Título: phpMyAdmin Error Cannot connect: invalid settings
Mensagem de: Candidosa2 em 20 de Abril de 2024, 14:54
MySQL said: Documentation

Cannot connect: invalid settings.
 mysqli::real_connect(): (HY000/1130): Host 'localhost' is not allowed to connect to this MariaDB server
 Connection for controluser as defined in your configuration failed.
 mysqli::real_connect(): (HY000/1130): Host 'localhost' is not allowed to connect to this MariaDB server
 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.
Título: Re: phpMyAdmin Error Cannot connect: invalid settings
Mensagem de: Candidosa2 em 20 de Abril de 2024, 17:08
tem que parar o servicos, depois ir para my.ini alterar a porta 3306 para 4306

(http://ficheiros.aplicimagens.info/thumbs/bfi1713625294l.png)

(http://ficheiros.aplicimagens.info/thumbs/viu1713625674s.png)

(http://ficheiros.aplicimagens.info/thumbs/klz1713625709h.png)


C:\xampp8212\phpMyAdmin
Abrir o ficheiro config.inc.php
aonde temos que adicionar mais uma linha
$cfg['Servers'][$i]['Port'] = 4306;