RHODEDOG / thc-rpg

Automatically exported from code.google.com/p/thc-rpg
0 stars 0 forks source link

SQL conection problem #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. [Core] [InitSQL] Connection to SQL database has failed
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
8.1 RPG on WinServer 2008

Original issue reported on code.google.com by loveisde...@gmail.com on 3 May 2011 at 11:26

GoogleCodeExporter commented 8 years ago
did you add the db entry in databases.cfg?
do you work with sqlite or mysql?

Original comment by andreaspachler on 4 May 2011 at 5:50

GoogleCodeExporter commented 8 years ago
Database.cfg

"Databases"
{
    "driver_default"        "sqlite"

    "default"
    {
        "driver"            "default"
        "host"              "localhost"
        "database"          "sourcemod"
        "user"              "root"
        "pass"              ""
        //"timeout"         "0"
        //"port"            "0"
    }

    "storage-local"
    {
        "driver"            "sqlite"
        "database"          "sourcemod-local"
    }

    "clientprefs"
    {
        "driver"            "sqlite"
        "host"              "localhost"
        "database"          "clientprefs-sqlite"
        "user"              "root"
        "pass"              ""
        //"timeout"         "0"
        //"port"            "0"
    }

   "thc_rpg"
   {
       "driver"    "sqlite"
       "database"  "thc_rpg"
   }
}

I use SqLite.

All worked before i reinstalled Windows. Same WinServer 2008 but Rus , i dont 
think its problem..

Original comment by loveisde...@gmail.com on 4 May 2011 at 7:30

GoogleCodeExporter commented 8 years ago
is the file "cstrike\addons\sourcemod\data\sqlite\thc_rpg.sq3" existing?

Original comment by andreaspachler on 4 May 2011 at 1:16

GoogleCodeExporter commented 8 years ago
Yes..and its with data..
I tryed to delete and mb its will create new one but its gave same error..and 
didnt create enithing

Sorry for my English..

Original comment by loveisde...@gmail.com on 4 May 2011 at 5:53

GoogleCodeExporter commented 8 years ago
i found problem.. its was very silly..

Server adress(at computer,folder adress) must not contain non English letters..

Original comment by loveisde...@gmail.com on 4 May 2011 at 7:56

GoogleCodeExporter commented 8 years ago

Original comment by andreaspachler on 6 May 2011 at 9:30