上边的写错了,是下边的>>
先谢谢几位了,我早就授权了的呀
grant insert,update,delete,select on z.* to abc@localhost identified by 'abc';
在本机用mysql -hlocalhost -uabc -pabc连接没有问题,但是在jsp中用localhost就不行呢?
我用的是freebsd,/etc/hosts里边有127.0.0.1 localhost这行的。
先谢谢几位了,我早就授权了的呀
grant insert,update,delete,select from z.* to abc@localhost identified by 'abc';
在本机用mysql -hlocalhost -uabc -pabc连接没有问题,但是在jsp中用localhost就不行呢?
我用的是freebsd,/etc/hosts里边有127.0.0.1 localhost这行的。