資料庫安裝錯誤

Last login: Tue May 24 21:36:21 on ttys000
FinancialbraindeMacBook-Air:~ financialbrain$ 1
-bash: 1: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ 2
-bash: 2: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ 3
-bash: 3: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ jacob@promote:~$ mysql -u root -p
-bash: jacob@promote:~$: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ Enter password:
-bash: Enter: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
-bash: syntax error near unexpected token `('
FinancialbraindeMacBook-Air:~ financialbrain$ 1
-bash: 1: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ 2
-bash: 2: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ 3
-bash: 3: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ jacob@promote:~$ mysql -u root -p
-bash: jacob@promote:~$: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ Enter password:
-bash: Enter: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
-bash: syntax error near unexpected token `('
FinancialbraindeMacBook-Air:~ financialbrain$ clear

FinancialbraindeMacBook-Air:~ financialbrain$ jacob@promote:-$ mysql -u root -p
-bash: jacob@promote:-$: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ cd~
-bash: cd~: command not found
FinancialbraindeMacBook-Air:~ financialbrain$ cd ~
FinancialbraindeMacBook-Air:~ financialbrain$ touch .bash_profile
FinancialbraindeMacBook-Air:~ financialbrain$ open .bash_profile
FinancialbraindeMacBook-Air:~ financialbrain$ source .bash_profile
FinancialbraindeMacBook-Air:~ financialbrain$ source .bash_profile
FinancialbraindeMacBook-Air:~ financialbrain$ alias mysql=/usr/local/mysql/bin/mysql
FinancialbraindeMacBook-Air:~ financialbrain$ alias mysqladmin=/usr/local/mysql/bin/mysqladmin
FinancialbraindeMacBook-Air:~ financialbrain$ sudo mysqld_safe

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
FinancialbraindeMacBook-Air:~ financialbrain$ sudo mysqld_safe

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
FinancialbraindeMacBook-Air:~ financialbrain$ 
FinancialbraindeMacBook-Air:~ financialbrain$ sudo mysqld_safe

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: 2 incorrect password attempts
FinancialbraindeMacBook-Air:~ financialbrain$ sudo mysqld_safe

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
FinancialbraindeMacBook-Air:~ financialbrain$ 
FinancialbraindeMacBook-Air:~ financialbrain$ mysql -u -root -p
Enter password: 
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES)
FinancialbraindeMacBook-Air:~ financialbrain$ mysql -u -root -p
Enter password: 
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES)
FinancialbraindeMacBook-Air:~ financialbrain$ mysql -u -root -p
Enter password: 
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES)
FinancialbraindeMacBook-Air:~ financialbrain$ mysql -u -root -p
Enter password: 
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: NO)
FinancialbraindeMacBook-Air:~ financialbrain$ mysql -u -root -p
Enter password: 
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES)
FinancialbraindeMacBook-Air:~ financialbrain$ mysql -u -root -p
Enter password: 
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: NO)
FinancialbraindeMacBook-Air:~ financialbrain$ mysql -u -dbuser -p
Enter password: 
ERROR 1045 (28000): Access denied for user '-dbuser'@'localhost' (using password: YES)

FinancialbraindeMacBook-Air:~ financialbrain$ 

Comments

Popular posts from this blog

MEGA 暫存檔案刪除

XAMPP 使用多PORT來執行不同網頁

IOS GCD多執行緒