List:MySQL and Java« Previous MessageNext Message »
From:Christian Mack Date:April 9 1999 7:12pm
Subject:Re: How to create DB with a user_id and PASSWD?
View as plain text  
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:
> URL=jdbc:z1MySQL//localhost:3000/DB_NAME
> .
> .
> 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.


How to create DB with a user_id and PASSWD?Chien-Lung Wu8 Apr
  • Re: How to create DB with a user_id and PASSWD?Christian Mack9 Apr