When I try and import the initialization file, I get the following:
Error
SQL query:
PHPDraft Database Initialization Script
This script requires an empty database to be initialized, and then replace the name below with your database's name.
NOTE: Change this to whatever your database is. Make note if your host requires a prefixed name, like ACCOUNT_phpdraft (common on shared hosting)
USE phpdraft;
I know that my host does use a prefixed name, but I don't know where to make the change.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The issue may be the comments aren't properly formatted? What's the error that MySQL gives you? I just see the start of the init script, and not an error per se. Comments are all lines that begin with "- ", if you remove them and re-run the query what do you get?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having the same problem… I'm not real good with php and databases, but here is the whole error message I received
**SQL query:
PHPDraft Database Initialization Script
This script requires an empty database to be initialized, and then replace the name below with your database's name.
NOTE: Change this to whatever your database is. Make note if your host requires a prefixed name, like ACCOUNT_phpdraft (common on shared hosting)
USE phpdraft;
MySQL said:
#1044 - Access denied for user 'davidtuc'@'localhost' to database 'phpdraft' **
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had to edit the "database_initialize.sql" file in the sql directory. I had to change the line near the top that read "USE phpdraft;" to include my prefix name from my shared host.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try and import the initialization file, I get the following:
Error
SQL query:
USE phpdraft;
I know that my host does use a prefixed name, but I don't know where to make the change.
The issue may be the comments aren't properly formatted? What's the error that MySQL gives you? I just see the start of the init script, and not an error per se. Comments are all lines that begin with "- ", if you remove them and re-run the query what do you get?
I am having the same problem… I'm not real good with php and databases, but here is the whole error message I received
**SQL query:
USE phpdraft;
MySQL said:
#1044 - Access denied for user 'davidtuc'@'localhost' to database 'phpdraft' **
I figured it out!!!
I had to edit the "database_initialize.sql" file in the sql directory. I had to change the line near the top that read "USE phpdraft;" to include my prefix name from my shared host.