How I can get the password from the database by sending the login name?

Hello,

For my application I want to receive the password by sending an SQL (SELECT password FROM piwik_user WHERE login=‘xXuserXx’) statement, I recebire login name automatically with another process.

I’ve been looking but can not find any method that simply receives a judgment either parts or whole and run it.

How I can do?

I am new to piwik and I’m quite confused with the issue of “use PATH” in many PHPs

Piwik does not store the password so it is not possible to read it

Piwik stores the values in config.ini.php you need to connect. How I can connect to the database using this data and make a query itself?