搭建xmpp环境的一些知识点和链接

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. 











  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值