Error 1044 Access denied to database

A

Anonymous

Guest
the sql file you mentioned...
must not be having "create database thetours..."
and actually directly trying to acces the db..
 
try this

Code:
mysql -u username DATBASE -p < script.sql

it will prompt you for password.
 
john10001 said:

Error 1044 Access denied for user: '@localhost' to database
'newland_tours'

Error 1046 No Database Selected
As I understand, to you need select database before run query. So to you need use mysql_select_db.
Good Luck!
 
Back
Top