MySQL Rank & $wpdb

You might try: SELECT NULL AS rank, player, points FROM my_table
Then write a tiny loop to fill in the value for rank in each returned record?!?!?

It’s a workaround rather than a solution but in the end, you’ll have what you need.

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