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. 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? 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. 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
Archived
This topic is now archived and is closed to further replies.