at localhost, i can use mysql to connect database successfully. but use php, i get this error message: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (13) my /tmp/mysql.sock is for user mysql and group mysql. and it's attribute is 777. ...
Error: "According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions" - but according to documentation such parameter possible. BUT WHEN JOINING With DATABASE FROM SERVLET ALL WORK FINE. I read this doc - http://tomcat.apache.org/tomcat-5.0-doc/...