Check out example codes for "mysql connection string". It will help you in understanding the concepts better.

Code Example 1

Press CTRL+C to copy "server=127.0.0.1;uid=root;pwd=12345;database=test"

Code Example 2

Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

Learn ReactJs, React Native from akashmittal.com