|
|
エントリー
--/--/-- / --:--
新しい記事を書く事で広告が消せます。 2007/12/08 / 00:01
備忘録
$ vi .bash_profile "I"キーでINSERTして、入力モードにして、以下を書く export PATH=/usr/local/mysql/bin:$PATH "esc"キーでコマンドモードに戻る そのあと、"Shift"を押しながら、"Z"を2回押し、保存して、プロンプト画面に戻る $ _ Terminalを再起動する。
$ echo $PATH←登録したパスを呼び出すして確認する
おお、出来たwww/usr/local/mysql/bin:/bin:/sbin:/usr/bin:/usr/sbin←先頭に、:(コロン区切り)で、/usr/local/mysql/binがあるのがわかる $ mysql -u root -p←MySQLを起動させる Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 14 Server version: 5.0.45 MySQL Community Server (GPL) Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> exit Bye $ _ SQL / TRACKBACK(0) / COMMENT(0) / PAGETOP 二万円が戻ってきた。 / HOME / MySQLを、パスを通して実行
TRACKBACK URL |