I'm trying to connect to an SQL database, but am having a lot of trouble with it. Any and all help would be greatly appreciated.
As you can see below, the location of the sql file is /Users/agoodkind/mockup/test-database.sql:
In DbVisualizer, I have the following settings:
The entirety of the Connection Message says:
An error occurred while establishing the connection:
Long Message: Unknown database '/users/agoodkind/mockup/test-database.sql'
Details:
Type: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
Error Code: 1049
SQL State: 42000
If someone could point me in the right direction, I would really appreciate it.
test-database.sql is not an actual database it's most likely a text file of SQL statements to build a database.
I'm trying to connect to an SQL database, but am having a lot of trouble with it. Any and all help would be greatly appreciated.
As you can see below, the location of the sql file is /Users/agoodkind/mockup/test-database.sql:
In DbVisualizer, I have the following settings:
The entirety of the Connection Message says:
An error occurred while establishing the connection:
Long Message: Unknown database '/users/agoodkind/mockup/test-database.sql'
Details:
Type: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
Error Code: 1049
SQL State: 42000
If someone could point me in the right direction, I would really appreciate it.
test-database.sql is not an actual database it's most likely a text file of SQL statements to build a database.
0 commentaires:
Enregistrer un commentaire