Welcome to WebmasterWorld Guest from 50.19.190.144

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess Setting MySQL Conf Settings

     
11:50 pm on Mar 1, 2013 (gmt 0)

New User

10+ Year Member

joined:Mar 23, 2005
posts: 21
votes: 0


As Apache can set PHP settings values in the .htaccess file, can Apache also set MySQL settings values?

Something like:
mysql_value mysqld.datadir /mysql/devdata/

This is a non-specific question as I know there are other ways to accomplish the task at hand.

The task is to get the same website/docroot to use a different database (but named the same) based on the subdomain of the URL.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members