You are here:  » Database creation

Support Forum



Database creation

Submitted by Bob on Thu, 2007-03-29 14:09 in

Hi there,

I am trying to install PT on a Ubuntu 6.10 Linux distribution with XAMPP. If I try to create DB tables using the setup.php I get no results. The first two lines are PASS and working fine but I just could not find any clue why I am getting no results when I click on that link that is working fine on my windows' machine. I thought it was something to do with permissions as Ubuntu is pretty restrictive in this respect. I tested the MySQL with that mysqltest.php code you posted before and I get this result: 5.0.33. Which I suspect is the version of MySQL.

Any ideas what is causing this situation?

Many Thanks.

Bob

Submitted by support on Thu, 2007-03-29 15:17

Hi Bob,

The best thing to do in this situation is to add the following code to the end of setup.php:

  print "<p>".mysql_error()."</p>";

This will display the textual description of the last problem to occur within PHP's MySQL library and should give some indication of the problem...

Cheers,
David.

Submitted by Bob on Fri, 2007-03-30 15:03

David,

I fixed it. Somehow. I had to re-install Linux distro and play with the configuration.php a bit as the distro involved an additional password for MySQL root that caused some confusion. Now it's up and running again.

Thanks a lot for your support.

Bob