LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mediawiki, mysql, configure problem (https://www.linuxquestions.org/questions/linux-server-73/mediawiki-mysql-configure-problem-4175446051/)

jkobori 01-17-2013 11:46 AM

mediawiki, mysql, configure problem
 
Hi!

I have the following problem:
I would like to create a web page with mediawiki and mysql.
The problem is that it seems that the mysql-server is not running, the
"ps aux | grep mysqld" gives

mysql 19607 0.0 0.5 549840 47216 ? Ssl Jan16 0:26 /usr/sbin/mysqld
jkobori 26130 0.0 0.0 15104 888 pts/0 S+ 18:38 0:00 grep --color=auto mysqld

instead of something more "complicate" containing the words "socket etc." (I have read that on several forums)
Another issue is that when I try to configure the mediawiki,
at the database type I can not choose mysql, only the postgresql option is available.

Of course, the mysql-server and the relevant packages are installed, and
the mysql databases have the appropiate permissions.

Could You tell me what am I doing wrong?
Thank You!

The OS is a 64 bit Ubuntu 12.04.3.

Cheers,
Joe

Kustom42 01-17-2013 11:49 AM

Seems like mysqld is running. That is your mysql daemon. Can you do a mysql -uroot -p and access the mysql server from the cli?

You should be able to see the .sock file if you add the ww option to your ps command.

Code:

ps auxww | grep mysqld
ww basically means wide output as the standard ps will cut the end of the info off. This will show you command line arguments and other things that the ps command you are running will not show.

jkobori 01-17-2013 12:00 PM

Hi Kustom42!

Yes, I can access the mysql server from the cli with mysql -uroot -p command.
But the ps auxww | grep mysqld gives exactly the same output as ps aux | grep mysqld

Kustom42 01-17-2013 12:11 PM

Make sure your php-mysql module is installed.

Code:

yum install php-mysql

jkobori 01-17-2013 12:34 PM

The php-mysql is already installed.


All times are GMT -5. The time now is 11:56 AM.