> Hi everyone, > > Is there a standard way to specify a default user name and password for > the java driver? For example, will it recognize .my.cnf like most mysql > clinets do? > > Thanks, > > Sergei >
Sergei, No there is not. It must be passed in on the command line. Of course your application(s) could always read a 'standard' configuration properties file and add that. Connector/J can't read my.cnf because in many (most) cases, security restrictions prevent JDBC drivers from reading or creating files. -Mark -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]