在mysql數(shù)據(jù)庫中的user表中把host設(shè)為空或者遠程ip,就可以了,注意要重新啟動mysqld
grant all on? 數(shù)據(jù)庫名.*? to? 用戶名@192.168.1.*? identified by '密碼'
grant all on? 數(shù)據(jù)庫名.*? to? 用戶名@192.168.1.*? identified by '密碼'
java 學(xué)習(xí)軟件開發(fā)相關(guān)方面的學(xué)習(xí) |