上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 原因多个Mysql进程使用了同一个socket。两个方法解决:第一个是立即关机 使用命令 shutdown -h now 关机,关机后在启动,进程就停止了。第二个直接把mysql.sock文件改名即可。也可以删除,推荐改名。然后就可以启动mysql了。下面是国外原文To prevent the problem from occurring, you must perform a graceful shutdown of the server from the command line rather than powering off the server.# shutdown -h nowTh 阅读全文
posted @ 2014-02-12 15:05 大约 阅读(456) 评论(0) 推荐(0) 编辑
摘要: Solvedg++ $(mysql_config --cflags) file.cpp -o filename $(mysql_config --libs) 阅读全文
posted @ 2013-12-14 17:50 大约 阅读(289) 评论(0) 推荐(0) 编辑
摘要: service mysqld stopmv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bakservice mysqld start 阅读全文
posted @ 2013-12-13 18:53 大约 阅读(6644) 评论(0) 推荐(0) 编辑
摘要: 1. 添加新硬盘 设置 -> Storage -> SATA控制器->右击,选择“添加虚拟硬盘” 然后,根据需求创建合适的硬盘2. 重启虚拟机 查看现有系统的磁盘空间 sudo fdisk -l 可看到新加的虚拟硬盘,一般名为:Disk /dev/sdb3. 给新加的硬盘分区 fdisk /dev/sdb 键入m,可看到帮助信息 command (m for help):m 增加新分区 command (m for help):n 选择基本分区,输入:p ... 阅读全文
posted @ 2013-12-03 11:18 大约 阅读(326) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Security.Cryptography;using System.Text;class RSACSPSample{static void Main() {try{string str_Plain_Text = "How are you?How are you?How are you?Howare you?=-popopolA";Console.WriteLine("明文:" + str_Plain_Text);Console.WriteLine("长度:" +str_Plain_ 阅读全文
posted @ 2013-11-18 14:54 大约 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 开发技术:jquery,js baidu map api,json,ajax QQ1310651206谷歌地图(google map api)实现车辆轨迹移动播放(google map api) 阅读全文
posted @ 2013-10-22 17:22 大约 阅读(1502) 评论(0) 推荐(0) 编辑
摘要: 开发技术:jquery,js baidu map api,json,ajax QQ1310651206 阅读全文
posted @ 2013-10-22 17:14 大约 阅读(3864) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" language="javascript"> function $(id) { return document.getElementById(id).value; } function HttpWorker() { }; HttpWorker.httpCreate = function() { var http; if (window.ActiveXObject)... 阅读全文
posted @ 2013-01-09 12:47 大约 阅读(371) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <fstream>#include <string>#include <sys/stat.h>#include <direct.h>void main(){ struct _stat file_state; std::string dir="test_dir"; if ((_stat(dir.data(),&file_state) ==0)) { printf("exist"); } else { _mkdir(dir.data() 阅读全文
posted @ 2012-11-26 15:34 大约 阅读(152) 评论(0) 推荐(0) 编辑
摘要: IntroductionRegular expression syntax is fairly similar across many environments. However, the way you use regular expressions varies greatly. For example, once you've crafted your regular expression, how do you use it to find a match or replace text? It's easy to find detailed API documenta 阅读全文
posted @ 2012-11-06 17:26 大约 阅读(305) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页