wp-cli installation

I found my error in the php.ini used.
In my .zshrc file i change the version of php to the good one (5.5.10 )
and now wp.cli works fine.

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