LAMP and PHPMyAdmin

Questions about applications and software
Forum rules
Before you post please read this

LAMP and PHPMyAdmin

Postby nigelrrb on Wed Jan 06, 2010 1:50 pm

Hi,

I'm new to Linux having used Windows for years, now trying to switch over, using Mint 8 Helena. I've installed LAMP server via the Terminal using Dataman's very helpful tutorial. Apache works fine, serves existing HTML websites. I can't find any menu items to control Apache, MySQL, PHP or PHPMyAdmin - how do I a) invoke PHPMyAdmin without a menu item and b) get these 4 items into the main menu? I would have installed LAMP via the package manager but the option wasn't available. Any help would be appreciated!

Many thanks,

Nigel.
nigelrrb
Level 1
Level 1
 
Posts: 2
Joined: Sun Jan 03, 2010 12:26 pm

Linux Mint is funded by ads and donations.
 

Re: LAMP and PHPMyAdmin

Postby DataMan on Wed Jan 06, 2010 4:49 pm

Nigel,

Did you install phpMyAdmin (it's in the repositories .. I think)?

If so you will need to point your browser to the (I think) index.php for phpMyAdmin as in this example

Code: Select all
http://localhost/phpmyadmin/index.php


Hope this helps get you started.


I'm at work right now and Windows-disadvantged so I'm doing this from failing memory :lol:

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015
User avatar
DataMan
Level 6
Level 6
 
Posts: 1223
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Indiana USA at /var/www

Re: LAMP and PHPMyAdmin

Postby nigelrrb on Thu Jan 07, 2010 8:43 am

Hi,

Many thanks for the prompt response! I had installed phpMyAdmin via the repositories, and I can get the login page exactly as you suggest, http://localhost/phpmyadmin/index.php. There I run into another problem - I can't log in. Where are the PHP files located? I have looked in /var/www/ and they don't appear to be there, and I'm not familiar enough with the Linux file system to know where to look. Sorry to appear a bit stupid!

many thanks,

Nigel.
nigelrrb
Level 1
Level 1
 
Posts: 2
Joined: Sun Jan 03, 2010 12:26 pm

Re: LAMP and PHPMyAdmin

Postby DataMan on Fri Jan 08, 2010 5:47 am

Aw rats, you're right! I don't use the phpMyAdmin from the repositories. I now remember that they're putting a symbolic link to another directory. Not sure, but I'd start probing at maybe /etc/Apache2 or /etc/php5.

As an option, you could easily download directly from phpMyAdmin and install into the /var/www area.

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015
User avatar
DataMan
Level 6
Level 6
 
Posts: 1223
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Indiana USA at /var/www

Re: LAMP and PHPMyAdmin

Postby GradysGhost on Fri Feb 12, 2010 10:18 am

When you installed MySQL, you should have been prompted for a root user password. You can log into PHPMyAdmin with the user `root` and whatever password you chose when setting up MySQL.

Restarting Apache and MySQL are pretty easy on the terminal:

Code: Select all
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/mysql restart


You can put either of those commands into a script like this:

Code: Select all
#!/bin/bash
sudo /etc/init.d/mysql restart


Save it as something like restart-mysql.sh, make it executable for your user, then attach that to a launcher in the menu or on a panel. If you need clearer, more detailed instructions on how to do that, let me know.
GradysGhost
Level 1
Level 1
 
Posts: 12
Joined: Thu Dec 31, 2009 10:41 am

Re: LAMP and PHPMyAdmin

Postby DataMan on Fri Feb 12, 2010 12:26 pm

You can log into PHPMyAdmin with the user `root` and whatever password you chose when setting up MySQL


Doesn't he have to set the blowfish variable in the phpMyAdmin config file first? Been a while since I was cracking a new install of phpMyAdmin so I might be on the wrong path with this but....

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015
User avatar
DataMan
Level 6
Level 6
 
Posts: 1223
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Indiana USA at /var/www


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 20 guests