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

"error:Could not connect to database " with combu3

28 Posts
2 Users
0 Reactions
985 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 8:28 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

phpAdmin

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

I try to login with CMD ,in Win11

failed!! 

so strange!!

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

try mysqld --console

error log

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

here is my.ini

 
Posted : 28/07/2023 8: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.

FRANCESCO CROCETTI @ SKARED CREATIONS

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

YEs   I installed XAMPP, I used it   from Combu2

 
Posted : 31/07/2023 2: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 7:51 am
(@simonyu)
Posts: 33
Eminent Member
Topic starter
 

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

 
Posted : 31/07/2023 7: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 7: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)

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 31/07/2023 12: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 6: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 5:54 pm
Page 2 / 2
Share: