Oh dear. So little code, so many problems ...
1) You are hard coding yoru connection string: which means you have to change the code for production and release untested code. Always use a configuration file so the string is only recorded in a single place which is outside the app: that way your code doesn't change between dev and prod, and you don't have to "customise" each app for the environment it is going into.
2) You should also be aware that 192.168.x.x are local to a LAN, and are normally non-static. Which means that if your turn all the computers off for the weekend, they may very well all come back up with different IP addresses on Monday. Use Hostnames instead of IP addresses, even for local machines.
3) Never handle passwords as clear text - it is a major security risk. There is some information on how to do it here:
Password Storage: How to do it.[
^]
And remember: if this is web based and you have any European Union users then GDPR applies and that means you need to handle passwords as sensitive data and store them in a safe and secure manner. Text is neither of those and the fines can be .... um ... outstanding. In December 2018 a German company received a relatively low fine of €20,000 for just that.