Don't forget to sudo -v before actually typing mysqlstart on the command line so that you don't get prompted for your password in the background
drop this the following in ~/.profile
alias mysqlstart='sudo mysqld_safe5 &'
alias mysqlstop='mysqladmin5 -u root -p shutdown'
then type
>source ~/.profile
>sudo -v
>password:
>mysqlstart
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment