Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    10
    Plugin Contributions
    0

    Default Query RE: phpmyadmin

    Hi all

    I have a query regarding phpmyadmin...

    i am still setting up by scratch etc so bear with me.

    I have downloaded phpmyadmin and am about to create the configure.php file.

    the instruction is as set below

    <?php
    $i=0;
    $i++;
    $cfg['Servers'][$i]['host']='213.171.218.246'; // your database server’s IP address
    $cfg['Servers'][$i]['auth_type']='config'; // Authentication method – config, http or cookie
    $cfg['Servers'][$i]['user']='demousername'; // your database username
    $cfg['Servers'][$i]['password']='trainingpassword'; // your database user’s password
    ?>
    Save this file as config.inc.php and upload it into the phpMyAdmin directory you have just created.

    thats all well and good BUT i have a problem with whether i am doing this right.

    do i enter the text making the changes as set up above or is it like this:

    <?php
    $i=0;
    $i++;
    $cfg['Servers'][$i]['host']='213.171.218.246'; //
    $cfg['Servers'][$i]['auth_type']='config'; //
    $cfg['Servers'][$i]['user']='demousername'; //
    $cfg['Servers'][$i]['password']='trainingpassword'; // ?>
    Save this file as config.inc.php and upload it into the phpMyAdmin directory you have just created.


    i am getting a 404 page error at the moment so am not sure whether i have edited the text right.. all the detail is host,user,password are correct.

    has anyone else don this liek that at all that can give my any ideas please

  2. #2
    Join Date
    Jun 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Query RE: phpmyadmin

    ok update..

    i have managed to connect now to mysql via phpmyadmin BUT on one side of the wiondow i have the database listing and in the the windown i have a parse error unexpected $end in line 231 of the folder..

    aghhhhhhhhhhhhhhhh what is this .. !!!!!

 

 

Similar Threads

  1. v139h Save the Multi Table Query Result in phpmyadmin or by SQL CLI
    By explorer1979 in forum General Questions
    Replies: 2
    Last Post: 31 Dec 2013, 09:03 PM
  2. v151 SQL query setup. How do I TEST a query 'off-line'?
    By lewisasding in forum General Questions
    Replies: 3
    Last Post: 8 Mar 2013, 12:24 AM
  3. Query to execute if then in phpmyadmin
    By ginjack in forum General Questions
    Replies: 2
    Last Post: 20 Nov 2009, 10:42 AM
  4. Need help w/ SQL query in phpMyAdmin
    By audradh in forum General Questions
    Replies: 17
    Last Post: 16 Nov 2009, 01:05 PM
  5. Specifying 'Product priced by attributes' by running phpmyadmin SQL query?
    By vandiermen in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Aug 2009, 06:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg