"error:Could not co...
 
Notifications
Clear all

"error:Could not connect to database " with combu3

28 Posts
2 Users
0 Likes
725 Views
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

here is the control panel log , I  notice  that  there is no new log when I login, maybe because  "Could not connect to database:"

 
Posted : 28/07/2023 9:28 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

phpAdmin

 
Posted : 28/07/2023 9:32 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

I try to login with CMD ,in Win11

failed!! 

so strange!!

 
Posted : 28/07/2023 9:38 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

try mysqld --console

error log

 
Posted : 28/07/2023 9:40 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

here is my.ini

 
Posted : 28/07/2023 9:48 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

@simonyu I see you have your password 123456 in your config without quotes, did you try to enclose it in quotes? Not sure if that will fix your problem but it should be a string anyway. Also, did you try to access phpMyAdmin (or any other external tool for MySql management like DBeaver) with that username+password?

 

EDIT: oh I saw only now the last messages, so you’re having issues with your MySql database. Did you install the XAMPP package or similar? I never saw those issues with mysql installations.

This post was modified 9 months ago by Skared Creations

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 29/07/2023 8:20 pm
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

YEs   I installed XAMPP, I used it   from Combu2

 
Posted : 31/07/2023 3:36 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 
define ("GAME_DB_PASS", "admin");

I changed the password ,  doesnt work ,neither does  the CMD login 

 
Posted : 31/07/2023 8:51 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

but I try Combu2.15 IS oK.....

 
Posted : 31/07/2023 8:52 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

How can I get a version before Combu3?? maybe something like Combu2.9X??

 
Posted : 31/07/2023 8:53 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Please don't use the forum as a chat, you should try to write one message with all questions, use EDIT to modify a message and add more information to it instead of creating dozen of posts.

It maybe that the hostmask used to connect is 'root'@'localhost', see if this hostmask is registered in the MySql users list (you can eventually see and/or add it from the top menu "User accounts" in phpMyAdmin). This issue has nothing to do with Combu or its versions, since it's a connection error coming from MySql security settings. Usually you should have both 'root'@'localhost' and 'root'@'127.0.0.1' to cover the different hostmasks (on development machines you can eventually add 'root'@'%' so that it will allow the user 'root' to access from any IP/hostmask)

This post was modified 9 months ago by Skared Creations

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 31/07/2023 1:36 pm
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

GOOD NEWS  ,i FOUND  the problem , the PWD  for 'root'  of MySQL  is  ''  not '12345' or others I set.

These days,  I always set the pwd in _Setup Page ,which did not change the PWD for Mysql .  it seems  you must change the PWD in PhpMyadmin,

NOW I can USE COMBU3 

thanks

 

 
Posted : 01/08/2023 7:21 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

ah ok, yes the database name and username/password that you set in setup must already be valid and existing on your MySql server.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 01/08/2023 6:54 pm
Page 2 / 2
Share: