Error in query - 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
SQL:
select
t.define_string, tv.value, t.type_id, p.accesslevel
from
texts t, textvalues tv, pages p
where
tv.text_id = t.id
and t.page_id = p.id
and tv.lang_code = 'LANG_CODE'
and p.filename = 'User.php'