- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 ERROR 1010 (HY000): Error dropping database (can't rmdir './xxxx', errno: 39)
原因是数据xxxx目录下有除了数据库文件以外的文件, 可以cd到其目录,清空后。再drop
2014-01-22 14:20:18 11486 1
原创 MySQL 错误码
150 和121这两个都因是在建表的时候涉及到外键而引发的错误。 Error Code : 1005Can't create table 'apts.dd_flight' (errno: 121) 外键和表一样,在同一个库中是不允许与其他外键重名的。遇到这个错误请给你定义的外键换唯一无重复的名字。或者:由于某种原因表的key已经在数据
2014-01-22 14:11:45 893
原创 Linux下传输整个目录
简单的来说有两个选择,sftp 或者scpsftp 登录后,使用 put -pr dir_name/. 能传输dir_name下所有的子目录都传过去,dir_name can also be wildcard Characters, but dir_name not incluled(May not as you thought)sftp -pr dir_name/wildcar
2014-01-17 10:27:24 3398
原创 CentOS中设置MySQL的root密码
CentOS安装mysql后,mysql有一个默认的账户mysql,密码是空,可以登录。但是root用户是无法使用的,可以通过下面的方式予以处理:在root下做以下操作,或sudo# /etc/init.d/mysqld stop 或service mysqld stop# mysqld_safe --user=mysql --skip-grant-tables --skip-ne
2014-01-16 09:37:01 883
转载 Puppet vs. Chef vs. Ansible vs. Salt 评分
http://www.infoworld.com/d/data-center/review-puppet-vs-chef-vs-ansible-vs-salt-231308Test Center Scorecard 20%20%20%20%
2014-01-10 11:38:56 6073
原创 On-premises software 释义http://en.wikipedia.org/wiki/On-premises_software
来源:http://en.wikipedia.org/wiki/On-premises_softwareOn-premises software (often abbreviated as on-prem software, and also often incorrectly called “on-premise” software) is installed and run on
2014-01-10 10:17:28 5207
原创 linux 下mount ISO文件
mount -o loop /home/tmpuser/CentOS-6.5-x86_64-bin-DVD1.iso /home/tmpuser/http/centos/不需要其他解压命名,直接mount 用-o和loop选项即可。
2014-01-08 11:42:30 8259
转载 HTTP Server in 5 Lines With Webrick
Usually when I am prototyping a web UI - either in Javascript or Flex, I would just write a static html, because that's the simplest thing that works. But, once in a while, it doesn't work because of
2014-01-08 10:54:34 667
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人