Adding the jQuery to my theme that already exists in WordPress?

The first block of code, from your question, is all you need. ‘jquery’ is specified in wp_register_script function call as dependency. When you enqueue your ‘custom_script’, ‘jquery’ will be enqueued also.

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