在ubuntu中打开mysql,进入相应目录,执行命令sudo./mysqld_safe-user=mysql&
因为shell刚打开需输入密码,结果如下,此时输入密码也会报错,要先执行另一个sudo命令才行
zhang@zhang-laptop:~$cd/usr/local/mysql/bin
zhang@zhang-laptop:/usr/local/mysql/bin$sudo./mysqld_safe-user=mysql&
[1]6197
zhang@zhang-laptop:/usr/local/mysql/bin$Password:
[1] Stoppedsudo./mysqld_safe-user=mysql
zhang@zhang-laptop:/usr/local/mysql/bin$sudols
Password:
comp_errmysql_configmysqlshow
innochecksummysql_convert_table_formatmysql_tableinfo
msql2mysqlmysqld_multimysqltest
myisamchkmysqld_safemysqltestmanagerc
myisam_ftdumpmysqldumpmysqltestmanager-pwgen
myisamlogmysqldumpslowmysql_tzinfo_to_sql
myisampackmysql_explain_logmysql_upgrade
my_print_defaultsmysql_find_rowsmysql_upgrade_shell
mysqlmysql_fix_extensionsmysql_waitpid
mysqlaccessmysql_fix_privilege_tablesmysql_zap
mysqladminmysqlhotcopyperror
mysqlbinlogmysqlimportreplace
mysqlbugmysql_install_dbresolveip
mysqlcheckmysql_secure_installationresolve_stack_dump
mysql_client_testmysql_setpermission
zhang@zhang-laptop:/usr/local/mysql/bin$sudo./mysqld_safe-user=mysql&
[2]6211
zhang@zhang-laptop:/usr/local/mysql/bin$Startingmysqlddaemonwithdatabasesfrom/usr/local/mysql/var
zhang@zhang-laptop:/usr/local/mysql/bin$
发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug发现ubuntu中的bug
阅读(665) | 评论(0) | 转发(0) |