MySQL within Xampp and Scripts

Problems with the Linux version of XAMPP, questions, comments, and anything related.

MySQL within Xampp and Scripts

Postby Penates » 24. February 2004 14:10

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
Penates
 
Posts: 2
Joined: 24. February 2004 13:20

Postby Oswald » 24. February 2004 14:15

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
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux

Postby Penates » 24. February 2004 14:44

Thanks
Penates
 
Posts: 2
Joined: 24. February 2004 13:20

Postby DrumLib » 18. January 2005 11:45

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.
Vitamin Price Comparison
(including price based on standardized dose)
DrumLib
 
Posts: 4
Joined: 10. January 2005 19:46


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests