Skip navigation links

MySQL Forums :: MySQL & Embedded Databases :: A little confused. How to create a user?


Advanced Search

A little confused. How to create a user?
Posted by: Intelli Nexus ()
Date: November 24, 2009 12:51PM

I have seen something like this in the sample code that was provided:

File ourAppDir = new File("./");
File databaseDir = new File(ourAppDir, "mysql-mxj");
int port = Integer.parseInt(System.getProperty("c-mxj_test_port", "3336"));
String userName = "alice";
String password = "q93uti0opwhkd";

How am I supposed to create new users? Once I do that, I think creating a database is trivial. And what's with the x-mxj_test_port? I am unable to understand where these properties are coming up from. Anyone care to shed some light on this please?

Options: ReplyQuote


Subject Written By Posted
A little confused. How to create a user? Intelli Nexus 11/24/2009 12:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.