From: Christian Mack Date: April 9 1999 7:12pm Subject: Re: How to create DB with a user_id and PASSWD? List-Archive: http://lists.mysql.com/java/34 Message-Id: <370E5112.6AED1CCC@compal.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. Tschau Christian