Chien-Lung Wu wrote:
> Hi, friends:
> Can someone tell me how can I creste a DB_NAME, which I can set up the
> user_id name and password. I write a java/jdbc program to access mysql.
> When I connect the the server, it always ask me to give the user_id and
> the password. Is it possible for me to just set the URL as following:
> conn=(connect) Drivermanager.getConnection(URL, "", null);
> /*** no userid no passwd ***/
> Thanks in advance,
> Chien-lung Wu
Hi Chien-lung Wu
Why do you want to do that?
This is highly insecure!
That's like running mysqld with the --skip-grant-tables option.