">
 

phpMyAdmin Error Cannot connect: invalid settings

Iniciado por Candidosa2, 20 de Abril de 2024, 14:54

Respostas: 1   |   Visualizações: 5.749

Tópico anterior - Tópico seguinte

0 Membros e 1 Visitante estão a ver este tópico.

#2
tem que parar o servicos, depois ir para my.ini alterar a porta 3306 para 4306








C:\xampp8212\phpMyAdmin
Abrir o ficheiro config.inc.php
aonde temos que adicionar mais uma linha
$cfg['Servers'][$i]['Port'] = 4306;
Candidosa2 | Full Stack Developer
  • Stack: PHP 8.x | SMF 2.1.x | OpenCart | Joomla | Wordpress
  • Empresa: Aplic Consultoria em Informática, Lda
  • Local: Matola, Moçambique
Atenção: Antes de aplicar qualquer modificação, faça BACKUP da sua base de dados!

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.
Candidosa2 | Full Stack Developer
  • Stack: PHP 8.x | SMF 2.1.x | OpenCart | Joomla | Wordpress
  • Empresa: Aplic Consultoria em Informática, Lda
  • Local: Matola, Moçambique
Atenção: Antes de aplicar qualquer modificação, faça BACKUP da sua base de dados!

Tags: