PDA

View Full Version : SecurityAssist - Solution Recipies SQL Files


dlovas275157
10-14-2009, 07:23 PM
I am trying to import the "blue_sky_music.sql" file so I can begin the SecurityAssist Tutorials and Solution Recipe.

However, it will not import. I get the following error:
Error
SQL-query :
CREATE DATABASE IF NOT EXISTS blue_sky_music
MySQL said:
#1044 - Access denied for user 't3stdatabase'@'%' to database 'blue_sky_music'

Basically my hosting package only allows 1 database (with as many tables I want) and I already have one database running. I'm guessing that the file "blue_sky_music.sql" is not a database table, but an entire database. Is this correct?

If this is the case, is there any way to get the individual tables so I can import them? Or is the data structure of the tables documented anywhere so I can type them in myself? I've looked everywhere, but cannot seem to find any tutes outlining the data table structures (field names, field types, NULL, auto increment, etc).

Thanks.

Office Guy-172461
10-14-2009, 07:40 PM
You can edit the .sql file with a text editor.
So change the line:
CREATE DATABASE IF NOT EXISTS blue_sky_music
to the name of your existing database.

Yes the file is a complete database. Check to make sure any references to bllue sky are replaced with the name of your database.

BTW the .sql file contains all of the information about the tables you are looking for.

dlovas275157
10-14-2009, 07:52 PM
Perfect. Thanks OG. Didn't know you could view those in textedit. Imported the first table and populated it, looks easy to follow for the rest.

Appreciate the help. DL

Office Guy-172461
10-14-2009, 07:55 PM
You're welcome. Thanks for reporting your success.