I'm using this code in order to backup my mysql database.
Process.Start("C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqldump.exe", "-uusername -ppassword db -r""" & txtpath.Text & "\backup.sql""")
However, the command prompt shows an error stating it cannot connect to localhost, which apparently keeps my db from being backed up.
Any help will be appreciated! Thank you and God bless!