same name but different suffix

5 posts / 0 new
Last post
#1 Wed, 12/09/2009 - 07:38
tcl@cunotech.dk

same name but different suffix

Hi I have the Virtualmin installed on a server, and now I tried to create 2 almost alike virtual hosts.

flensburgersport.dk and flensburgersport.de

I created the first one without problems. Bu when I tried the next one, I get the

Failed to create virtual server : A MySQL user named flensburgersport already exists

I can give another DB name, and another user, but not another MySQL username.

How to work around this?

Wed, 12/09/2009 - 07:53
andreychek

Hrm, so it sounds like you tried changing the second Virtual Server's username from the default while creating it? Normally, I'd have expected that would get it to use a different MySQL username.

If not, you may have stumbled across a bug :-)

If you tried changing the second Virtual Server's administrator username -- you may want to file a bug report then, using the Support link above.

Thanks,

-Eric

Wed, 12/09/2009 - 08:03
tcl@cunotech.dk

I've tried to change the second virtual serves names, even changed the template to use {DOM} instead of {PREFIX}.

Nothing worked.

I can file it as a bug. But how to work around it for now. My Customer are eager to get his doman up and running. :)

Wed, 12/09/2009 - 12:00
ronald
ronald's picture

how is the first db called? it should be flensburgersport_dk and wouldnt conflict with flensburgersport_de

Fri, 01/15/2010 - 08:29
tcl@cunotech.dk

I solved it this way:

1) Created the first virtual server flensburgersport.dk, but changed the username, and the database name to flensburgersportdk 2) After creating the first virtual server I did the following EDIT Databases -> Usernames -> Change Database Username -> Change to : fbsportde (I seems that Flensburgersportde was to long a username for MySQL).

3) Create next virtual sever and again using new names.

4) Changed DB username as in 2).

Now It works.

Topic locked