Page 1 of 1

MySQL within Xampp and Scripts

PostPosted: 24. February 2004 14:10
by Penates
Hi,

I have played with xampp on my SUSE9.0 Server for some time now, and it works great!

I am trying to install a document management system and ran into the following problem:

I create the blank database with myphpadmin with a user account, once again no problem.

The installation requires that I use a script file to create the tables; this is where the issue starts. Logged in as root, any “mysql” command fails to execute. :?

Please Help

Regards

PostPosted: 24. February 2004 14:15
by Oswald
Hi Penates!

Every time you want to start mysql call /opt/lampp/bin/mysql.

In your special case you should also success with this workaround:

env PATH=/opt/lampp/bin:$PATH script

Where you replace script with the name of the script you have to call.

Good luck
Oswald

PostPosted: 24. February 2004 14:44
by Penates
Thanks

PostPosted: 18. January 2005 11:45
by DrumLib
Kai 'Oswald' Seidler wrote:Hi Penates!

Every time you want to start mysql call /opt/lampp/bin/mysql.

In your special case you should also success with this workaround:

env PATH=/opt/lampp/bin:$PATH script

Where you replace script with the name of the script you have to call.

Good luck
Oswald

Thanks! That also works with Mandrake 10.1.