Archive: Executing an SQL file without password


Executing an SQL file without password
Hi,

I was just wondering if it is possible to execute an .sql file with mysql, without providing the root username and password. If it is not possible, is there any other way to get the root password without asking the user directly?

Any help would be greatly appreciated.

Thanks!


Anybody know?


Not quite the right forum for MySQL questions... But the answer is easy -- NO. Being able to modify or query the database without authorizing first would be a serious security vulnerability.