Ok, I try to change it to (not tested it yet):
plugin command("DatabaseCommands.dll", "connect to database", "server=127.0.0.1;uid=myid; pwd=mypass; database=mydb; port=3306; pooling=false") {
plugin command("DatabaseCommands.dll", "query with results", "SELECT * FROM table_name WHERE status = \'\';", &my_table)
}
loop while($comparison($table total rows(&my_table),"> Greater than",0)) {
thread spawn(3,3) {
in new browser {
wait(4)
set(#id,$table cell(&my_table,0,0),"Global")
set(#link,$table cell(&my_table,0,1),"Global")