09 2020 档案
摘要:配置密码 sudo mysql -uroot use mysql; select host,user,authentication_string from user; alter user 'root'@'localhost' identified with mysql_native_passwor
阅读全文
摘要:1. 使用thymeleaf如果访问接口仍然带上ip:port的话,还是会跨域 2. 创建Filter类 import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import
阅读全文
摘要:方式一 1.进入目录/etc/mysql/mysql.conf.d 2.编辑mysqld.conf将bind项改成0.0.0.0 3.进入mysql -uroot -p use mysql; select host,user,authentication_string from user; CREA
阅读全文