Installing on Linux MInt (novice at linux and moodle)

Re: Installing on Linux MInt (novice at linux and moodle)

by Gerald Austin -
Number of replies: 2

Thanks Ken,

Still wrestling with getting Phpmyadmin working.

In reply to Gerald Austin

Re: Installing on Linux MInt (novice at linux and moodle)

by Ken Task -
Picture of Particularly helpful Moodlers

For phpmyadmin to work, mysqld (MySQL Server) has to be running.

Is mysqld running?

Check: from terminal as a user who can sudo or is root user:

ps aux |grep mysqld

ps is a command to show running processes ... aux are switches to the command

the | symbol is a pipe to run the output of ps aux through 'grep' showing only processes that pertain to the MySQL Server (mysqld).

Future note: things that end in 'd' could be daemons ... ie server apps.

You might see some line that looks similar to this (from CentOS server):

mysql     6951  0.2  1.7 627380 281048 ?       Sl   Oct09 162:36 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/log/mysqld.log --open-files-limit=5000 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock

That means it's running and if one studies that line it provides a wealth of information … log error, process ID file, etc.

For PHPMyAdmin ...
http://community.linuxmint.com/software/view/phpmyadmin

The button that says 'Install' points to: apt://phpmyadmin

But would imagine one could also download the .gz for PHPMyAdmin
http://www.phpmyadmin.net/home_page/index.php
Un-gunzip it, shorten the resulting folder name to something like 'phpmadmin' (mv "longtime" 'shortname'), move the resulting shortname folder into web root, change ownership/permissions on the folder and it's contents, then access with a web browser.
There are docs for PHPMyAdmin @:
http://www.phpmyadmin.net/home_page/docs.php

'spirit of sharing', Ken

In reply to Gerald Austin

Re: Installing on Linux MInt (novice at linux and moodle)

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

If you are struggling with getting phpmyadmin working, you should definitely contact 1&1.  If you are struggling with understanding phpmyadmin, well, I guess you will have to continue learning.  Consider reading http://docs.moodle.org/23/en/Site_Backup_for_Low-tech_Users.  Or put "moodle backup phpmyadmin" into Google.