mysql - Add System Environment Windows Variable using command line -
i'm doing unattended mysql installer, root password , all, goes fine!, i'm on final step. i'm adding system environment variable, in order add "path" path of mysql installed, i'm doing this:
setx path "c:\mysql\bin" /m
and works, if test in command line can invoke mysql command line window.
but realized paths stored other programs stored "java" , other ones disappeared, , saved path of mysql.
obviously i'm doing wrong, because must store program paths.
when ran this:
setx path "c:\mysql\bin" /m
your overwrote (i.e. clobbered) whatever things had in previous path
environment variable. instead, append mysql path use following:
set path=%path%;c:\mysql\bin
however, update path using windows gui interface. can open dialog contains various environment variables. there, see literal value path , should straightforward see how append mysql end. checkout following server fault question if need more doing gui:
Comments
Post a Comment