mysql真是个奇葩

长期以来开了个mysql, 今天才发现原来只能localhost去连!。 那开个db有个屁用!。 奇葩的mysql. 

grant all privileges on *.* to 'root'@'%' identified by 'root'; ----access denied!!!. 

起mysqld_safe --skip-grant-tables, 再来。。The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement!!!!!!!

 

set global read_only=0解决问题。

本地恢复了可以连了,virtualbox里还是不能连。。。。vim /etc/mysql/my.cnf,bind-address=*, 搞定。。。

 

没发现原来mysql这么奇葩的为了安全装个db server一直只能localhost连的,要remote连要折腾半天。。。奇葩。。。

 

 

eclipse中Dynamic Web Module 3.1 requires Java 1.7 or newerven Java EE Configuration Problem问题: java compiler level, project facets, jdk lib都不解决问题:最后还是往pom.xml里标注版本:

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-compiler-plugin</artifactId>

<version>3.1</version>

<configuration>

<source>1.8</source>

<target>1.8</target>

</configuration>

</plugin>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值