ubuntu安装mysql后不能远程访问的方法1.mysql>GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION; 2.FLUSH RIVILEGES; 3.查看mysql库users表中是否存在如下记录,存在代表设置成功.
以安装 ubuntu 15.10 为例 1. 备份并更改源 cd /etc/apt sudo cp source.list source.list.bak sudo vi source.list 删除所有内容并增加其他源(用vi删除所有内容,命令行下gg移动光标至文件头,dG删除光标后所有内容) 阿里云 ubuntu 15 源 deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse deb h
安装QT5.4后,需要编译一个C++程序. Cmakelist 有find_package(Qt5Widgets REQUIRED),cmake 报错如下: CMake Error at CMakeLists.txt:14 (find_package): By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configu