Notepad mysql

This is a discussion about Notepad mysql in the Windows Software category; 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Oct 26
Created
Oct 26
Last Response
0
Likes
1 minute
Read Time
User User
Users

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.