查询是否可以远程访问:
select * from mysql.user where host=% and user=MysqlUserName;
1.允许远程访问
grant all privileges on *.* to MysqlUserName@'%' identified by 'MysqlPassword' with grant option;
flush...
function init(){
$(".sysUserSplit span").each(function(i) {
var str=subStr($(this).text(),18); //subStr是返回从开始下标到第18个字符
var length=strlen($(this).text()); //字符串总长度
if (length > 18) { //...