Welcome to WebmasterWorld Guest from 54.167.29.212

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess Setting MySQL Conf Settings

     

bsmither

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

10+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month