Jump to content

problem with installation - connecting to MySQL server


Recommended Posts

Good evening,

I can't install the new version and this error on the database seems very strange

In fact, if I put the data with the correct database name I receive an error that it cannot connect to the server while if I put a wrong database it tells me that it has connected but cannot find the database

Can anyone help me?

Thank you

Link to comment
Share on other sites

  • 2 weeks later...

There is an option to check database is connected successfully using the host, username and password details. If it shows a green message then only we can proceed with the installation process. The manually creating database should not be the issue. You can check details using database management tools adminer link => https://www.adminer.org/

 

You can try PHP mySQL connection with below script

 

 <?php
$servername = "localhost";
$username = "username";
$password = "password";

// Create connection
$conn = new mysqli($servername, $username, $password);

// Check connection
if ($conn->connect_error) {
  die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?> 

 

ggrrgergregrere.thumb.png.d8e74dd5fee7f5df4d0c9ed38d1d945d.png

Edited by Zohaib-fk (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...