vineld Posted July 11, 2009 Share Posted July 11, 2009 Is it possible to use an external database in drupal without specifying it in the settings file? If so, how? I tried using the simple: mysql_select_db("mydatabase"); mysql_query("insert ....."); but no data was entered. Quote Link to comment https://forums.phpfreaks.com/topic/165561-how-to-use-external-database-in-drupal/ Share on other sites More sharing options...
haku Posted July 11, 2009 Share Posted July 11, 2009 I don't think you can do this without specifying it in the settings.php file. Why don't you want to set it in there? Quote Link to comment https://forums.phpfreaks.com/topic/165561-how-to-use-external-database-in-drupal/#findComment-873432 Share on other sites More sharing options...
vineld Posted July 11, 2009 Author Share Posted July 11, 2009 Seems as if you're right. The reason is that I don't have permissions to edit that file atm and I was looking for a shortcut but I guess I'll have to wait a few days for the administrator to get back. Thanks anyway. Quote Link to comment https://forums.phpfreaks.com/topic/165561-how-to-use-external-database-in-drupal/#findComment-873506 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.