Keeping of MySql connection string with server, user, password and database data seems incorrect inside the code.
I see only two ways, how it can be stored, one is adding into Resources .txt like string data = Properties.Resources.doc;, but I'm not sure if it is secured method, another must be .xml, but I can't find any good guide, how to created such kind of access with .xml correctly, and I'm also not sure if it is most proper way.
Any advice, guide or example would be useful