afmysql_dd_database_thread replaced debug printf