Results 1 to 7 of 7

Thread: B3 phpmyadmin

  1. #1
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts

    B3 phpmyadmin

    Hi all,
    I followed these tutorials
    http://forum.bigbrotherbot.net/insta...one-two-three/

    Im done with Phase 1, but in Phase 2 he goes to localhost/phpmyadmin. However I can't locate it? 404 Not found... But everything is installed without errors. How can I check if there went something wrong?

    EDIT: mysql -u root -p<mysql password> b3-db.sql doesnt work aswell. "Unknown database 'b3-db.sql' "
    Last edited by Ni3ls; 25th September 2014 at 15:43.

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    You have php and mysql enabled on your webserver, which you host locally?
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. #3
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    No they are hosted on a vps. This is the IP: 37.59.111.62

  4. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Quote Originally Posted by Ni3ls View Post

    EDIT: mysql -u root -p<mysql password> b3-db.sql doesnt work aswell. "Unknown database 'b3-db.sql' "

    The correct command looks like: mysql -u root -p databaseName < /path/to/your/b3/installation/b3-db.sql

    It's maybe easier to understand in single steps:

    1) Connect to MySQL: mysql -u root -p
    2) Enter MySQL root password
    3) "Use" the correct database: use databaseName;
    4) Now import the B3 MySQL layout: source /path/to/your/b3/installation/b3-db.sql;

    The database you need to create in phpMyAdmin or HeidiSQL first.

    Install phpMyAdmin: either download it directly: http://www.phpmyadmin.net/home_page/index.php

    With this step you can just extract it in /var/www.

    Or do: apt-get install phpmyadmin (this will make a "special link" to your phpmyadmin, like http://37.59.111.62/phpmyadmin)
    timescale 0.01

  5. The Following User Says Thank You to kung foo man For This Useful Post:

    Ni3ls (25th September 2014)

  6. #5
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Quote Originally Posted by kung foo man View Post
    Or do: apt-get install phpmyadmin (this will make a "special link" to your phpmyadmin, like http://37.59.111.62/phpmyadmin)
    I already did this and the files are in usr/share.
    I will try it with the program phpadmin

  7. #6
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Ni3ls View Post
    I already did this and the files are in usr/share.
    I will try it with the program phpadmin
    Is '/etc/phpmyadmin/apache.conf' included in '/etc/apache2/apache2.conf'?

    https://wiki.debian.org/LaMp

    To have access to phpMyAdmin on your website (i.e. http://example.com/phpmyadmin/ ) all you need to do is include the following line in /etc/apache2/apache2.conf (needed only before Squeeze, since 6.0 it will be linked by the package install script to /etc/apache2/conf.d/phpmyadmin.conf -> ../../phpmyadmin/apache.conf automatically)
    Last edited by Mitch; 25th September 2014 at 18:05.

  8. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    kung foo man (25th September 2014),Ni3ls (25th September 2014)

  9. #7
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Thanks Mitch, fixed it!

  10. The Following User Says Thank You to Ni3ls For This Useful Post:

    Mitch (26th September 2014)

Posting Permissions

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