Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing SQL Statements from a Text File

Status
Not open for further replies.

FoxT2

MIS
Oct 3, 2003
143
US
Hi,

In earlier versions of MySql I used to execute SQL statements from a text file like this..

mysql nuke < nuke.sql

but for some reason since I have upgraded to MySQL version 5.0, whenever I try this command from the Window command prompt I get this error...

ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost'

any ideas?

Thanks
 
Maybe a permission problem?

You're not specifying a user, perhaps your default user doesn't have the permissions you need.



Want the best answers? Ask the best questions! TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top