logeshkumartk Posted April 12, 2015 Share Posted April 12, 2015 I'm working on Laravel project, when im using joins with two different database (ie) [different username and password for both the database], it throws an error stating that one database username can't be used to connect with other database. can anyone please tell me how to use two different database with joins in laravel. Quote Link to comment https://forums.phpfreaks.com/topic/295466-error-in-connection-with-two-different-db/ Share on other sites More sharing options...
Codarz360 Posted April 12, 2015 Share Posted April 12, 2015 Take a look at this article I think it will provide the answer to your query - http://fideloper.com/laravel-multiple-database-connections Quote Link to comment https://forums.phpfreaks.com/topic/295466-error-in-connection-with-two-different-db/#findComment-1508858 Share on other sites More sharing options...
Tom10 Posted April 13, 2015 Share Posted April 13, 2015 Post the code? Quote Link to comment https://forums.phpfreaks.com/topic/295466-error-in-connection-with-two-different-db/#findComment-1508930 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.