To update a SQL table from a Filemaker database use the fm2sql-tool. See here how to use it.
In the following there is described how to retrieve the information about database location, user and password.
Z Psycopg Database Connection
. If you can't find it, look for it one level above and if you can't find it there, look for it one more level above and so on…Connection string
you can retrieve all the information you need to know about the destination database (database name, user, password and the server the database is on).