salvatore.sena Posted September 14, 2023 Share Posted September 14, 2023 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 More sharing options...
ComGrafPL Posted September 14, 2023 Share Posted September 14, 2023 Have you created db manually? 1 Link to comment Share on other sites More sharing options...
salvatore.sena Posted September 14, 2023 Author Share Posted September 14, 2023 16 minutes ago, ComGrafPL said: Have you created db manually? yes manually, it's a problem ? Link to comment Share on other sites More sharing options...
Zohaib-fk Posted September 27, 2023 Share Posted September 27, 2023 (edited) 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"; ?> Edited October 17, 2023 by Zohaib-fk (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now