[Tutorial] A tutorial on MySQL connections!
#4

Multiple connections usually aren't necessary, but when you do use them you must pay extreme attention to include the correct connectionHandle in every function at all times otherwise you'll likely get weird screwups.

I am also not entirely sure if you need to set the option at all if different databases are concerned. I do use this option, but I connect to the same database, albeit with a different user every time. Makes auditing easier. Each active script has its own user with its own specific rights as to what tables it can access.
Reply


Messages In This Thread
A tutorial on MySQL connections! - by Abagail - 16.02.2015, 21:42
Re: A tutorial on MySQL connections! - by Ryan_Bowe - 16.02.2015, 21:52
Re: A tutorial on MySQL connections! - by Abagail - 16.02.2015, 21:53
Re: A tutorial on MySQL connections! - by Vince - 16.02.2015, 21:57
Re: A tutorial on MySQL connections! - by Abagail - 16.02.2015, 22:02
Re: A tutorial on MySQL connections! - by Ryan_Bowe - 16.02.2015, 22:18
Re: A tutorial on MySQL connections! - by Abagail - 16.02.2015, 22:19
Re: A tutorial on MySQL connections! - by Ryan_Bowe - 16.02.2015, 22:22
Re: A tutorial on MySQL connections! - by Luis- - 20.02.2015, 17:23
Re: A tutorial on MySQL connections! - by Abagail - 20.02.2015, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)