Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4111224
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:02:20+00:00 2026-05-20T22:02:20+00:00

I am configuring mysql for my server, but I have one question: Is it

  • 0

I am configuring mysql for my server, but I have one question: Is it possible for each domain to see their own mysql server, but only having to run one service at the server? I want to keep al databases for the domains separated, but I don’t want to have to prefix each database name.

edit:
sorry I think my question wasn’t clear enough:
I know I can create several users with different permissions, but what I want is that different domain can create different databases with the same name.
eg: suppose I have domain1.com and a domain2.com running on the same server. Both domains want a database called statistics.
If I want to do this now, I’ll have to prefix the databases, so there are two databases: domain1_statistics and domain2_statistics, and the domains can only access their own databases. But I want to create 2 databases called statistics, one for each domain, so that each domain only sees its own statistics database. Is this possible?

edit2:
how can I transfer this post to serverfault? Sorry for posting on the wrong site!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:02:20+00:00Added an answer on May 20, 2026 at 10:02 pm

    If you have a single MySQL server then that server doesn’t care whether a domain X or domain Y can see “their” databases, because MySQL determines who can do what based on the user who connected to the server. If you want to restrict access, create multiple MySQL user accounts and configure each of your domains to use one of those accounts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am having trouble configuring mysql database to connect to the right file. I
I'm having big trouble in configuring Ruby and MySQL on MacOSX. Just a fact,
I have a hosted site and I'm having trouble configuring Joomla (running Joomla +
I have some problem while configuring symfony project on the production server. When I
I'm trying to build 5.6.4-labs-innodb-memcached, but having this issue: # cmake ./ -- MySQL
I recently installed MySQL 5 on Windows 2003 and tried configuring an instance. Everything
I am configuring a new environment to run several intranet web applications. I have
I'm working on configuring a RollingFileAppender in log4net programmatically. I have something like this
While configuring the security constraints for a web-module's roles in J2EE application I'm having
Anyone happen to use this combination in their web application? I'm having a bit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.