How to connect as user@localhost in mm.mysql on virtual host? 
Author Message
 How to connect as user@localhost in mm.mysql on virtual host?

Hi!
The situation: I have an account on a virtual host (for example say
www.virtual.com). The name of the machine with all accounts is say for
example www.machine.com. Let my user name be simply user.


Logging in with the mysql command line tool works fine. Loggin in with
a small php-script works, too, so I assume my MySql-account is fine.

But there is a problem when using java.
I try to get a connection with:
  connectUrl= "jdbc:mysql://localhost/userdb?user=user&password=secret";



connectUrl has the same result. Exchanging "localhost" with

and does not allow me access, too, which I understand.


(using the latest 2.0.8 version, Java2 V1.3 and some RedHat Linux)?


Any help would be appreciated, as installing a new user account under
mysql takes ages from the operator. Or is it the only workaround to

Joe Randstein



Sat, 26 Jun 2004 21:20:19 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. MySQL URL Conn String/Remote Virtual Hosting env.

2. mysql virtual host needed

3. jdbc mm.mysql driver connects as root only

4. error on connecting to mm.mysql database

5. Problems with getting MM.MYSQL drivers to connect

6. Connecting to MySql using the mm.jdbc drivers.

7. Problem with passwords (MySQL, mm.mysql.jdbc driver)

8. MySQL max query length via mm.mysql-2.0

9. getLastID with mySQL; MM.MySQL API

10. JDBCfor MySQL: org.gjt.mm VS com.mysql

11. jdbc/mysql/mm.mysql

12. jdbc/mysql/mm.mysql


 
Powered by phpBB® Forum Software