Get full URL of WP plugin admin page

$parts           = parse_url( admin_url() );
$url             = "{$parts['scheme']}://{$parts['host']}" . add_query_arg( NULL, NULL );

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