SolvedDoom Source [MySQL Error]

Posts 1–3 of 3 · Page 1 of 1
Doom Source [MySQL Error]
When I import the struct, I get this error

21:57:51 Restoring C:\Users\#######\Desktop\Private Server\Doomed Realms\Doomed Realms\db\struct.sql
Running: mysql.exe --defaults-file="c:\users\#######\appdata\local\temp\tmpdebro 4.cnf" --host=localhost --user=root --port=3306 --default-character-set=utf8 --comments < "C:\\Users\\#######\\Desktop\\Private Server\\Doomed Realms\\Doomed Realms\\db\\struct.sql"
ERROR 1046 (3D000) at line 9: No database selected

Operation failed with exitcode 1
21:57:51 Import of C:\Users\#######\Desktop\Private Server\Doomed Realms\Doomed Realms\db\struct.sql has finished with 1 errors
Quote Originally Posted by HoffHorn View Post
ERROR 1046 (3D000) at line 9: No database selected
The error kinda explains itself, you haven't selected a database.
Create a database called rotmg and selected it before importing the SQL file.

Also you would have been able to solve this problem in seconds by googling..
Quote Originally Posted by donran View Post
The error kinda explains itself, you haven't selected a database.
Create a database called rotmg and selected it before importing the SQL file.

Also you would have been able to solve this problem in seconds by googling..
Sorry man, I still don't get it. Is it something I need to change in the struct? Because I've looked at line 9 [DROP TABLE IF EXISTS `accounts`;]

Edit: Ok I fixed it. I just took a part of another struct and used it.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us