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里标注版本:

扫描二维码关注公众号,回复: 706392 查看本文章

<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>

猜你喜欢

转载自chenss.iteye.com/blog/2268389