Jump to content
Compatible Support Forums
Sign in to follow this  
wessexresins

Notepad mysql

Recommended Posts

Hi,

i'm trying to produce a short .exe file in notepad (with icon on desktop) to start/login to mysql. From the cmd window i type in the following:

 

c:/mysql/bin/mysql -u root

 

to login as root user. i've tried simply entering this line into notepad and saving as an .exe file. doesn't work though - get an error message.

 

Can anyone help?

 

Thanks

Matt

 

Share this post


Link to post

If in Win2k/XP save it with the extention ".cmd"

If in Win9x/Me save it with the extention ".bat"

 

".exe" files are binary and are not text based.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×