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
修改root用户 查看用户的权限,是否是mysql_native_password,如果不是,则将auth_sock改为mysql_native_password update user set plugin = 'mysql_native_password' where user = 'root'; 或者执行下面语句,这样就不需要执行Step2的内容啦! ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password B