Using Multiple MySQL Ports in the Same Application

This is a code example of this command:

SET_DATABASE_PORT OF MYSQL TO PORT

Login <server1> <user> <passwd> "mdsmysql"

SET_DATABASE_PORT OF MYSQL TO 5576
Login <server2> <user> <passwd> "mdsmysql"
Open Test1
Showln "Test1 - Server1"
Clear Test1
Repeat
  Find Gt Test1 By Index.1
  [ Found ] Begin
     Showln Test1.Customer_Number " - " Test1.Name
     Indicate Found True
  End
Until [ Not Found ]
Open Test2
Showln
Showln "Test2 - Server2"
Clear Test2
Repeat
  Find Gt Test2 By Index.1
  [ Found ] Begin
     Showln Test2.Customer_Number " - " Test2.Name
     Indicate Found True
  End
Until [ Not Found ]
Showln
Showln "ok ..."
Inkey Pageend

Tags:

Leave a Reply

You must be logged in to post a comment.