settings api – add_settings_section not working

I got it to work, I removed the my_plugin_init_settings function and outputted its content directly and called do_settings_sections after it.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)