From: John K. <jo...@ke...> - 2002-06-18 21:17:54
|
Hi, I discovered recently that I was used 1.5Gb of my bandwidth on 'remote MySQL transfers' because I was using 'kershaw.org' as $hostname. My ISP said I should set $hostname to 'localhost:/tmp/mysql.kershaw' in my php scripts and the requests will stay internal to the server. I reduced my usage by a third, but realised a couple of my phpwikis were still using: 'dsn' => 'mysql://dbusername:pas...@ke.../databasename', I tried to change one of them to: 'dsn' => 'mysql://dbusername: password@localhost:/tmp/mysql.kershaw/databasename', but get a bunch of errors which I presume come from phpwiki parsing the hostname incorrectly out of the string. How do I get things working properly? (phpwiki 1.3.2) John. -- ----------------------- phone: 07944 755613 email: jo...@ke... web: www.kershaw.org AOL: johnkershaw ----------------------- |