Forums / Install & configuration / Shared Hosting - Datasource Configuration
Ashish Gupta
Thursday 29 September 2005 3:36:01 pm
In a shared-hosting environment, where I do not have consle access to the server
How Do I - Put my database connection string (which includes a MYSQ DB name/password pair)
- Do I get to configure server.xml( Tomcat), if not then is there an alternative where I can use Tomcat Data Source/Connection Pooling?
I am considering shared hosting ( using JSP/Tomcat.MYSQL)and I dont know how I will be able to host it, if I use connection polling, As on standalone I have complete control over Server.xml file Thanks a lot.
Łukasz Serwatka
Friday 30 September 2005 1:37:01 am
Ashish, you did not provide information which language/technology you use. If Java, then read doc about working with databases. You should have driver for MySQL, JDBC for example:
Connection string can look:con = DriverManager.getConnection("jdbc:mysql:///test", "root", "secret");
If PHP, than should works with mysql_connect function. Check manual for PHP. However Tomcat as web server for Exponential is not supported.
And, your question is not related to Exponential, and supported by eZp technology.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog