LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2006, 01:51 PM   #1
komuthan
Member
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 58

Rep: Reputation: 15
setting up a local server


Iam using slackware linux and i installed mysql 4.1.14 , apache 2.055 and php 5.05 for apache 2
then i start mysql and apache
İ can see apache test page (http://localhost) and i can see php pages and i installed phpmyadmin 2.7 and i create a database
I wanna make mambo templates but i cant install mambo on my local server
In mambo installation screen mysql support unavailable
here is a screenshot http://img229.imageshack.us/img229/6...kurulum4nq.jpg
I started mysql but there is a problem about mysql how can i fix it
 
Old 01-28-2006, 02:09 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Is your mysql running as the correct user (mysql) so mambo can access it?

Last edited by Alien_Hominid; 01-28-2006 at 02:18 PM.
 
Old 01-28-2006, 02:13 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Did you follow the instructions for configuring mysql before you tried to start it? What are the errors you are getting?
 
Old 01-28-2006, 02:23 PM   #4
komuthan
Member
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 58

Original Poster
Rep: Reputation: 15
I did not configure mysql Only i started it. When i started phpmyadmin homepage there is an warning like this
Quote:
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.
but it is a local server and i only want to make mambo templates is this important
 
Old 01-28-2006, 02:44 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It is important, but it's probably not what is stopping mysql from running. Have a look in your startup script for mysqld (on a Slackware box it's /etc/rc.d/rc.mysqld). In mine, it told me to run the following commands before mysql could be started:

Code:
su - mysql
mysql_install_db
On my system, mysql_install_db is in /usr/bin
 
Old 01-28-2006, 02:55 PM   #6
komuthan
Member
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 58

Original Poster
Rep: Reputation: 15
Ok I think I missed some information i run these commands. when i try to start mysql it gives me an error like
"mysql.pid file mysql ended ..."
then i read rc.mysql and run these commands and then i start mysql (sh /etc/rc.d/rc.mysql start) then it begin running
I can create database with phpmyadmin but mambo can not access the mysql what is the problem is this a permission problem?
 
Old 01-28-2006, 03:40 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It could be. As Alien_Hominid asked, is mysql running as the correct user?
 
Old 01-30-2006, 07:27 AM   #8
komuthan
Member
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 58

Original Poster
Rep: Reputation: 15
Today I added a new user and i started phpmyadmin with new user there is no problem i added a database then
İ totally read xushi's guide and i made necessary changes and restarted all services but still i can't solve my problem
the screenshot does not change http://img229.imageshack.us/img229/6...kurulum4nq.jpg
what is the problem?
in test.php
Code:
'./configure' '--with-apxs2=/usr/sbin/apxs' '--enable-force-cgi-redirect' '--sysconfdir=/etc' '--enable-fastcgi' '--with-ncurses' '--prefix=/usr' '--enable-discard-path' '--with-config-file-path=/etc/apache2' '--enable-safe-mode' '--with-openssl' '--with-zlib=/usr' '--enable-bcmath' '--with-bz2' '--with-pic' '--enable-calendar' '--enable-ctype' '--with-curl=shared' '--enable-dba=shared' '--with-imap-ssl=/usr/local/lib/c-client/pine4.60/imap/c-client' '--with-imap=/usr/local/lib/c-client/pine4.60/imap/c-client' '--with-gdbm' '--with-db3' '--with-inifile' '--with-flatfile' '--enable-dio' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png' '--with-gettext=shared,/usr' '--with-gmp=shared' '--enable-mbstring' '--with-mime-magic' '--with-mysql=shared,/usr' '--with-pgsql=shared,/usr' '--without-mysqli' '--with-pspell=shared,/usr' '--enable-shmop' '--enable-soap' '--enable-sockets' '--with-regex=php' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--enable-xml' '--with-xml=shared,/usr' '--with-xsl=/usr' '--enable-yp' '--with-pear' '--enable-inline-optimization' '--enable-memory-limit' '--enable-zend-multibyte' '--with-tsrm-pthreads' '--enable-shared' '--disable-static' '--enable-exif' '--with-exif' '--disable-debug'
--with-mysql=shared
--without-mysqli is this normal or not

Last edited by komuthan; 01-30-2006 at 07:37 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Setting up a local web server in Debian Linux LXer Syndicated Linux News 0 01-17-2006 12:01 AM
Setting up local time server Phaethar Linux - Software 3 06-28-2005 08:45 AM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM
Setting up Mail server for Local Network Deep13 Linux - Software 2 10-30-2003 08:05 AM
need help setting up local DNS rnorton Linux - Networking 7 03-21-2002 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration