1、 Linux上安装MySQL - 12条命令搞定MySql
http://blog.csdn.net/shulianghan/article/details/17309411
http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html
2、
window环境下配置mysql和openfire 选项
http://www.xuebuyuan.com/854873.html
http://www.micmiu.com/opensource/openfire/openfire-server-install/
相关软件可以在移动硬盘上找xmpp文件夹。
3、mac上的myql的下载与安装
http://dev.mysql.com/downloads/mysql/ //下载链接
http://www.cnblogs.com/macro-cheng/archive/2011/10/25/mysql-001.html
http://blog.sina.com.cn/s/blog_9ea3a4b70101ihl3.html
xmpp的搭建
http://blog.sina.com.cn/s/blog_6ca8877f0101hxe7.html
http://www.cnblogs.com/xiaodao/archive/2013/04/05/3000554.html
5.6版本的mysql的安装目录:
http://www.2cto.com/database/201409/332022.html
注意:这个链接中的mysql的设置中注意在登陆的时候是这样的:
mysql -u root -p 密码 (错误的)
mysql -uroot -p密码 (正确的,也就是没有空格)
删除jdk 以及安装
http://blog.csdn.net/jgwei/article/details/10582735
4、openfire下载网址
http://www.igniterealtime.org/downloads/index.jsp
问题查询:
http://bbs.csdn.net/topics/390800654
搭建openfire的环境问题:
1)软件准备 ,openfire mysql jdk(javaforosx)
2)安装中可能会出现一些问题,
(1)jdk没有安装 (2)安装的jdk依赖于特定的平台 ——————> 这些都会导致openfire启动不了。
3)有的时候mysql出现一些问题,重新启动一下电脑就好。
mysql:的快捷键设置为:
vim /etc/bashrc //即为快捷键的配置文件是:/etc/bashrc这个路径下,其实就是bash(终端)的路径。
mysql命令行教程:
http://c.biancheng.net/cpp/html/1449.html
create table Login(
id int(4) not null primary key auto_increment,
name varchar(20) not null,
sex int(4) not null default '0',
password varchar(20) not null);
insert into Login values(1,'Tom',0,96.45),(2,'Joan',0,82.99), (3,'Wang',0, 96.59);
//插入的即使是默认的也是要写入进去的。
preblem 连接的时候出现这个问题:
A connection to the database could not be made. View the error message by opening the "/logs/error.log" log file, then go back to fix the problem.