Page 1 of 1

Server Issues

PostPosted: 05. March 2005 16:27
by Shaggz
I am running Slack 10.1.

I have gotten the XAMPP to install properly.

However when I try to install something else (phpwebsite and phpnuke)
I always get 'cannot connect to database server'

I have been able to make sure that everythign is pointing at local site.

Anyy suggestions ?

PostPosted: 06. March 2005 12:08
by Oswald
Dear Shaggz!

Maybe MySQL isn't running? What says the XAMPP status page?

Best regards
Oswald

PostPosted: 06. March 2005 15:14
by Shaggz
It tells me everything is running.

Everthing from the package installs ok, and works. I can add tables and users, and all that. But when it comes to other stuff, I have no idea. Is there an SQL log that I can use that I am not aware of ?

Shag

PostPosted: 08. March 2005 08:41
by stoffell
To make sure SQL is running, do : "netstat -an" and see if port 3306 is being used. (unless you changed it)

Try making a connection with the mysql client: mysql -h localhost -u root

cheers

PostPosted: 08. March 2005 15:27
by Shaggz
That all seems to be up and running.

I tried to run the mysql from the bin dir, however I had to do a ./mysql first. It didnt find it in the path. Is there a decent way to make that a path so that the system will find it ?

for slack.

PostPosted: 08. March 2005 19:31
by stoffell
maybe install phpmyadmin (or another mysql admin tool) first, because probably the default permissions don't allow you to connect..

PostPosted: 08. March 2005 23:33
by Shaggz
Everything from the base package has worked fine.

I even tried adding a user and pw to it through phpmyadmin and it was ok.

But when I ran the other content managment website script, it alwys comes back with 'unable to connect to db server'

PostPosted: 08. March 2005 23:39
by stoffell
I guess then it all works.. You could try creating a temp user with all persmissions set and allowed to connect from all hosts (if the server is in a secure environment) to make sure that mysql is not blocking you.

if not, possibly the install scripts don't work or they contain a config error.