Web Design Forums

Software Articles & Tutorials

Read about using Apache, Outlook, and other web design- and Internet-related software.

Installing phpMyAdmin



Site of the Month Voting - Now Open. CAST YOUR VOTE NOW!

Reply
 
LinkBack Thread Tools
Old December 26 '04, 05:05 PM (#1)
Squeakypants is offline
WDF Member
 
Squeakypants's Avatar
 
Join Date: December 2004
Posts: 67
Squeakypants is on a distinguished road
Send a message via ICQ to Squeakypants Send a message via AIM to Squeakypants Send a message via MSN to Squeakypants Send a message via Yahoo to Squeakypants
Installing phpMyAdmin

I wasn't sure to put this in Design or here, so you can move it if you want.

phpMyAdmin is a database handler in php. It is simply all the scripts you would normally make manually to view and edit your database. It can even translate from php to sql and sql to php! It is a must-have for anyone who uses mysql.

Now, on to the installation. Your server must be able to use SSH for this to work.

1. You need an SSH client. SSH is almost like DOS, except it is for the internet. I use a simple one called PuTTy.

2. Open PuTTy and enter your domain name or IP address. If your database is on a separate server, do not enter it here. You can leave the port at 22. Now connect. If this is the first time, a message will come up. Press yes.

3. Enter your SSH username and password. Your password won't show up as you type it (not even *s), but once you are done press enter. You are now connected by SSH.

4. Now that you are connected, you have to put this in (sorry, but no copy and paste):
Code:
wget http://aleron.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.5.3-php.tar.gz
This will download phpmyadmin in to your home directory.

5. Now you have to 'unzip' phpMyAdmin. Put this in:
Code:
tar xvfz phpMyAdmin-2.5.3-php.tar.gz
6. Now, don't be freaked out by this (I know I was). People always break their knees when they see a lot of code. What you need to do is modify the config to your database's settings. First, put in this:
Code:
cd phpMyAdmin-2.5.3
then
Code:
vi config.inc.php
Now the file will open. Press the insert key on your keyboard to modify the file. Look for each of these and change them accordingly:

Code:
$cfg['PmaAbsoluteUri'] = 'http://mysite.com/phpMyAdmin-2.5.3/';
The phpMyAdmin directory.

$cfg['Servers'][$i]['host'] = 'mydatabase.database.net';
Place your database host here (localhost is acceptable)

$cfg['Servers'][$i]['auth_type'] = 'config';
Make sure this option is set to config.

$cfg['Servers'][$i]['user'] = 'username';
Your mySQL username

$cfg['Servers'][$i]['password'] = 'password';
Your mySQL password

$cfg['Servers'][$i]['only_db'] = 'awesomedatabase';
Your database's name
Now press Esc, then type:
Code:
:x
7. If you can, now protect the phpMyAdmin with a username and password (if your host has that option).

Now you simply go to the directory in your favorite browser *cough*firefox*cough* and you'll have it all good.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Web Design Help » Articles & Tutorials » Software Articles & Tutorials

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
User Infomation
Your Avatar

Site Of The Month
Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:01 PM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164