Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hey, I want to create a DB called 'asterisk' and table called 'Client_details'. Where I have a PHP page with few details to fill in, once hit submit, I want ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80

    Db and table name

    Hey,

    I want to create a DB called 'asterisk' and table called 'Client_details'. Where I have a PHP page with few details to fill in, once hit submit, I want the contents to be copied to the db (using PHP) and table I have created earlier in MySql .

    So long I've been in practice with phpmyadmin GUI for creating Db, Table name and column names. With Linux, I find it kinda struck coz I didn't know where to start.

    All I know to do on terminal without any gui:
    mysql -u root -p
    Enter password: ( I'll enter the password I created during the installation of LAMP server )

    Is there any gui like phpmyadmin to work with Karmic Koala?

    Any help!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    This is not a question for the Ubuntu forum. Please move this to the Linux Applications forum.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    You can install phpmyadmin:

    Code:
    sudo apt-get install phpmyadmin
    You can then access it by going to http://localhost/phpmyadmin
    Linux User #453176

  4. #4
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80
    I thought I should post coz I'm currently using Ubuntu-9.10 with LAMP server.

    No problem, If I still need to move, I'll.

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80
    Hey,

    I tried to install using:
    Code:
     sudo apt-get install phpmyadmin
    I configured to work with apache2, entered my LAMP server password for MySql app and same password for phpmyadmin too, confirmed the password.

    My terminal message was this :
    Code:
    Setting up phpmyadmin (4:3.2.2.1-1) ...
    dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
    unable to read input file /etc/dbconfig-common/phpmyadmin.conf
    dpkg: error processing phpmyadmin (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     phpmyadmin
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Then when I checked to see the permissions in /etc/dbconfig-common/
    phpmyadmin.conf file appeared to be using the emblem for No read ( an into mark ) Hope, this emblem is giving the above error problem.

    How can I solve this?

  6. #6
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    It's not meant to be readable as it contains your passwords. To make sure it has the correct permissions try:

    Code:
    sudo chmod 600 /etc/dbconfig-common/phpmyadmin.conf
    Last edited by Kieren; 11-10-2009 at 04:47 PM. Reason: typo, see below for reasons
    Linux User #453176

  7. #7
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80
    So how can I solve this to see my GUI

    When I issued the command:

    Code:
     chmos: command not found

  8. #8
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    chmos should be chmod.

    I prefer the Mysql GUI Tools to phpmyadmin. They are easily installable via synaptic
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  9. #9
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    Oops, my mistake. The command above has been fixed
    Linux User #453176

  10. #10
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80
    I tried Synaptic package manager:

    It displayed the below error after downloading:
    Code:
    E: phpmyadmin: subprocess installed post-installation script returned error exit status 1
    Still not sure, what I might be missing

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...