Ash you've not set up your DB names & Passwords correctly in the server files.
Setup.txt!
[SQL]
UseSQL=TRUE
SQLHost=(Removed for personal reasons)
SQLUsername=sa (Usually set to 'sa')
SQLPassword=password (Create a password what you wont forget.)
SQLDatabase=TheLegendOfMir (Database Name)
SQLType=mssql (Make sure this bit is correct too, either MSSQL or MYSQL)
SQLPort=3306
SQLCharDatabase=TheLegendOfMir (Server Name)
Also DBServer Folder > dbsrc.txt!
[SQL]
SQLType=mssql (Make sure this again, is MSSQL or MYSQL)
SQLHost=(Removed for personal reasons)
SQLPort=3306
SQLDatabase=TheLegendOfMir (Put your Database name here)
SQLUsername=sa (This is again, usually set to 'sa')
SQLPassword=Password (Create a password what you can remember)
Obviously on the post I have changed my database names & passwords for my own personal reasons.
Hope this helps.