Can’t get this jQuery snippet to work with WordPress

See this question for an answer. You can do also

var $ = jQuery.noConflict()

before your script.

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