Notepad mysql

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.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar29.webp

4 Posts
Location -
Joined 2004-10-26
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
 

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar33.webp

686 Posts
Location -
Joined 1999-10-28
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.