PHP and MySQL

Discussion in 'Programming' started by AimyThomas, Sep 5, 2012.

  1. #1
    Hello,


    While I was interpretation the PHP manual on database security the recent past, it said that you should by no means connect to the database as the super user but rather as one more user with more limited options.
    My question is:
    How do you generate new users and set access levels for them in MySQL?

    Secondly, if a website does not offer PHP Admin, how can I use a database I created in phpMyAdmin on my PC for that website?

    Thank in Advance
     
    AimyThomas, Sep 5, 2012 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,827
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #2
    I gave up on phpmyadmin years ago and use sqlyog, much more powerful!

    How you create extra users depends on what type of control panel you have. Let us know...
     
    sarahk, Sep 7, 2012 IP
  3. DaBrounsi

    DaBrounsi Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #3
    in phpmyadmin there is a menu called "Rights" or s.th like that. There u can add and modify the Database users. If your server doesnt come with phpmyadmin you can install it if u have access to the console.
     
    DaBrounsi, Sep 18, 2012 IP
  4. phpdevelopmentoutsourcing

    phpdevelopmentoutsourcing Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    PHPMyAdmin is only a ease tool for easily accessing MySQL through a GUI, so your database doesn't require it in any way.
     
  5. gordyville

    gordyville Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    gordyville, Sep 26, 2012 IP
  6. tkcoding

    tkcoding Peon

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    you can use sqlyog or other free tool to manage your mysql database, phpmyadmin just one of them,
     
    tkcoding, Sep 29, 2012 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    Use phpMyAdmin to export the database on your computer. Upload the exported file to the site. Use whatever tool the site gives you to import the file to MySQL.
     
    Rukbat, Oct 1, 2012 IP