php forum
php mysql forum
php mysql smarty
 
Topic Options
#276795 - 07/14/04 04:11 PM Setting up phpmyadmin...
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na

   Setting up phpmyadmin... to Del.icio.us Add to del.icio.us
  Digg Setting up phpmyadmin... Digg it
I'm switching hosts soon and need to setup phpmyadmin now.<br /><br />I've read over the doc files on it, and I can set phpmyadmin up to manage either of the databases seperately, but can't figure out how to be able to set up the config file so I can manage both together. Anyone know what to do?<br /><br />thanks,<br />peter

Top
#276796 - 07/15/04 04:01 PM Re: Setting up phpmyadmin... [Re: adrienne48]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
The config file is set up in chunks of information that form an array. You just set up the first host in the first "host" element, the second in the second one etc. If you run out of array chunks then copy and paste as many as needed.
_________________________
Nikos

Top
#276797 - 07/15/04 10:26 PM Re: Setting up phpmyadmin... [Re: Hal_dup2]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Okay, that kind of makes sense. <br />
Code:
<br />$cfg['Servers'][$i]['user']          = 'Database1';      // MySQL user<br />$cfg['Servers'][$i]['password']      = 'password1';          // MySQL password (only needed<br />                                                    // with 'config' auth_type)<br />$cfg['Servers'][$i]['only_db']       = 'Database1';          // If set to a db-name, only<br />                                                    // this db is displayed in left frame<br />                                                    // It may also be an array of db-names, where sorting order is relevant.<br />
<br /><br />Is this the code I need to do something with? I guess I'm unclear about how to set up the array.<br /><br />Thanks for your help!

Top
#276798 - 07/16/04 12:19 AM Re: Setting up phpmyadmin... [Re: adrienne48]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Ah, nevermind. I had a dense moment. I get the array thing now.<br /><br /><br />I have another question though. What's the best way to maintain security over this? Seems dangerous and scary.<br /><br /><br />-p

Top
#276799 - 07/16/04 07:51 AM Re: Setting up phpmyadmin... [Re: adrienne48]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
I personally have installed it on one of my sites over an https protocol and using the http authentication since the transmission of data (login data this is) is secure. I wouldn't suggest any other option really.
_________________________
Nikos

Top


Who's Online
0 Registered (), 23 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
10/05/08 03:47 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 12
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
W-D 3

 

 

 
fusionbb message board php hacks