友情提示:小程序,开发制作。

写于2013年07月的文章:

将百度地图插入插入到你的网页中

方法/步骤
  1. 1.进入: http://api.map.baidu.com/lbsapi/creatmap/index.html (创建地图-百度地图API所见即所得工具)
  2. 切换城市,搜索需标注位置。(如下图:)
  1. 设置地图:大家可以对网站显示地图的宽高进行设置,其余选项不动。

阅读全文>>

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

mysql> create user 'testuse'@'localhost' identified by '111111';

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement


点击查看原图 

 

解决办法:

在命令行输入:mysql> flush privileges;

阅读全文>>

rpm安装mysql5.6.12遇到密码的问题

wget mysql.5.6.12.rpm 

rpm -ivh mysql.5.6.12.rpm

步骤都很常规。中间缺少什么库就安装什么库。安装完成之后发现,使用空密码无法登陆。

使用以前的改密码的方法都没有成功。

其中有

1.

[root@loaclhost] /usr/bin/mysqld_safe --usr=mysql --skip-grant-tables --skip-networking&
开启第二个终端

[root@loaclhost] /usr/bin/mysql -u root mysql 

2.

使用mysqladmin。输入  

mysqladmin -u root -p oldpassword newpasswd

&nbs...

阅读全文>>

centos6X 安装中文输入法

1.用root登录 ,或su root
2.yum install "@Chinese Support"
3.exit
4.回到桌面,system->preferences->input method
5.如果没有,先注销一下。
6.到里面add输入法到列表里。

7.最后再注销、登录。

======================================================== 

# yum install "@Hindi Support"

# yum install "@Chinese Support"

OR

# yum groupinstall “Chinese Support”

这是CentOS 5的,应当适用于CentOS 6

阅读全文>>