![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
milesfei
这个作者很懒,什么都没留下…
展开
-
Linux平台下python链接数据库所需环境搭建记录(使用pip)
操作系统:ubuntu 12.04 安装: 1. python 2.7.3(系统自带) 2. 在终端输入:sudo apt-get install python-dev 3. 安装pip,在终端输入:sudo apt-get install python-pip 4. 更新pip,在终端输入:sudo pip install --upgrade 5. 安装mysql,在终端输入:sud原创 2014-09-22 09:31:36 · 327 阅读 · 0 评论 -
ubuntu下开启mysql的允许远程访问
如果不开启允许远程访问的话,就只能在本地用127.0.0.1(localhost)作为host的参数进行访问mysql 方法如下: 1. 修改/etc/mysql/my.cnf,将其中的 “bind-address = 127.0.0.1”注释掉(在本行最前面加一个“#”即可),最后注意将my.cnf变回只读。 2. 重启mysql,在终端中执行:sudo restart mysql 3.原创 2014-09-23 16:46:59 · 445 阅读 · 0 评论