aidlearning安装MySQL报错_试玩Aid Learning
前言
记录一下步骤
下载安装
切换源
# 打开Terminal复制回车即可
cd /etc/apt/&&
cp sources.list sources.list.bk&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free > sources.list&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free >> sources.list&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free >> sources.list&&
echo deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free >> sources.list&&
echo deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free >> sources.list&&
apt update&&
echo 换源已完成!&&
cd /home
安装Mysql
# 1.安装
apt install default-mysql-server
# 2.初始化数据
mysql_install_db
# 3.启动mysql
service mysql start
# 4.修改root用户密码
/usr/bin/mysqladmin -u root password '密码'
# 5.登录mysql
mysql -u root -p
# 6.开启root用户远程访问权限(P@ssw0rd填root的密码)
## 写入权限
grant all on *.* to root@'%' identified by 'P@ssw0rd' with grant option;
## 刷新权限并退出
flush privileges;
quit;
# 7.编辑配置文件
vim /etc/mysql/mariadb.conf.d/50-server.cnf
# 8.修改
bind-address=0.0.0.0
# 9. 重启mysql
kill -9 `pgrep mysql`
service mysql start
# 问题一:每次启动都会报错.回车一下就行(有没有大佬知道怎么解决的QAQ)
# 问题二:不能自动启动
安装JDK&Tomcat
安装Ngrok
aidlearning安装MySQL报错_试玩Aid Learning相关推荐
- rpm安装mysql报错_【CentOS-65】通过rpm包安装mysql57解决了server报错和mysqld启动报错的问题...
[CentOS-6.5]通过rpm包安装mysql5.7(解决了server包安装报错和mysqld启动报错的问题) 一.官网下载rpm包二.安装 wget三.检查是否已有数据库四.在linux在解压 ...
- ubuntu安装mysql报错_解决Ubuntu 12.04中更改MySQL默认编码报错
Ubuntu 12.04,安装了MySQL,完了之后,更改了字符编译,就报错.感觉很郁闷. 环境: root@ubuntu:~# uname -a Linux ubuntu 3.2.0-23-gene ...
- macports 2.3.1 安装mysql 报错_使用MacPorts配置PHP开发环境(PHP54+PHP FPM+NGINX+MYSQL55)...
在MAC系统下进行PHP开发,最简单的方法是到http://www.apachefriends.org/en/xampp-macosx.html下载个文件,装上就可直接进行开发了,好处很明显,简单易用 ...
- ubuntu安装mysql报错_在Ubuntu上安装mysql数据库和遇到的问题
如果上面没有成功,而出现了这样的问题的话: Mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost'(using pass ...
- 安装32位mysql报错_在CentOS中安装32位或64位MySql报错error: Failed dependencies解决办法...
在CentOS中安装MySql报错error: Failed dependencies解决办法 安装64位MySql报错内容如下: error: Failed dependencies: libaio ...
- centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running:
centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running: ...
- CentOS安装MySql报错:mysql error: Failed dependencies
今天安装mysql报错,依赖错误,网上查了下后面加上--nodeps --force,开始正常安装
- 在Linux中安装MySQL报错“error: Failed dependencies: mysql-community-libs(x86-32) >= 5.7.9 is needed by my“
异常 在Linux中安装MySQL报错: 原因 因为缺少相关的依赖,所以要先安装这些依赖才能安装MySQL成功. 解决 (注意:这种方法是错误的,安装后并不能启动MySQL成功) 在每个安装指令后面添 ...
- 阿里云安装Mysql报错
阿里云安装Mysql报错: The GPG keys listed for the "MySQL 5.7 Community Server" repository are alre ...
最新文章
- jsp中如何判断el表达式中的BigDecimal==0
- Activity栈管理(三):Intent的Flag与taskAffinity
- 【OpenCV3】Opencv3.2.0在Hisi3521下的交叉编译和移植
- git fetch 命令
- 开启市场新格局 且看新华三计算与存储新品发布会
- 路透社:谷歌已停止与华为部分合作;联想否认断供华为PC;微软计划直供Linux内核;谷歌无人机快递Wing进军芬兰……...
- DAG镶嵌模型+原始路径打印
- 【二分匹配】【匈牙利算法即由增广路求最大匹配模板】
- html盒子模型的原理,新手对于CSS盒模型的认知
- 《软件方法》第8章 分析 之 分析类图——知识篇Part1(20211029更新)
- 澳洲的10种房屋类型
- Ubuntu18.04下OpenCV调用笔记本摄像头
- QT中使用以管理员权限启动一个进程
- Laravel Excel导出xls乱码
- android 仿微信选取相册_Android类似微信图片选择器
- javascript js jsp接收servlet传送的数组ArrayList的一种简单的非ajax方法
- Excel怎样把相同列数据合并到一行
- Redis高可用架构
- 填坑之一 从零开始的神棍之路
- Lind.DDD.Paging分页模块介绍