codeigniter-mongodb-library
codeigniter-mongodb-library copied to clipboard
How can I connect with connection string
Or how can I convert my connection string to the variables in config?
I am sorry, I am not able to understand your question.
On Wed, 29 Jan 2020, 6:43 p.m. mehmet salih bindak, < [email protected]> wrote:
Or how can I convert my connection string to the variables in config?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/intekhabrizvi/codeigniter-mongodb-library/issues/28?email_source=notifications&email_token=AACE33KJ6O23FJ3MWD44I23RAF6GZA5CNFSM4KNEMRK2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJQ5GXA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACE33P7CIV53TBFKETTVP3RAF6GZANCNFSM4KNEMRKQ .
https://cloud.mongodb.com gives a connection string contains server , username and password like this
mongodb+srv://msalihb:[email protected]/collection2?retryWrites=true&w=majorit
How can I use this string to connect my db?
I am also looking a way to connect to cloud atlas using this library. any solution ?