MACの下でopenfireを構築する
2686 ワード
一度失敗したふりをして,新しく来たことがある.
先にopenfireを削除し、端末はそれぞれ実行します
sudo rm -rf/Library/PreferencePanes/Openfire.prefPane
sudo rm -rf/usr/local/openfire
sudo rm -rf/Library/LaunchDaemons/org.jivesoftware.openfire.plist
mysqlを削除し、
先にopenfireを削除し、端末はそれぞれ実行します
sudo rm -rf/Library/PreferencePanes/Openfire.prefPane
sudo rm -rf/usr/local/openfire
sudo rm -rf/Library/LaunchDaemons/org.jivesoftware.openfire.plist
mysqlを削除し、
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
vim /etc/hostconfig (and removed the line MYSQLCOM=-YES-)
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /var/db/receipts/com.mysql.*
http://www.cnblogs.com/xiaodao/archive/2013/04/05/3000554.html , .
http://www.cnblogs.com/xiaodao/archive/2013/04/04/2999426.html mac .
mysqladmin -u root password .
.
, .
mysql. /usr/local/mysql , my.cnf
[mysqld] : skip-grant-tables
mysql, mysql -u root -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 34
Server version: 5.6.21 MySQL Community Server (GPL)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
.
mysql> create database openfire;
mysql> use openfire
mysql> grant all privileges on openfire.* to qimeng@localhost identified by "qimeng";
mysql> flush privileges;
.
openfire .
:qimeng
:qimeng
.
. , admin@exxxxxx , , . , , . admin@exxxxxx. , admin , .