View Full Version : B3 phpmyadmin
Ni3ls
25th September 2014, 15:37
Hi all,
I followed these tutorials
http://forum.bigbrotherbot.net/installation-support/(tutorial-video)-install-b3-on-a-linux-vps-phase-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' "
IzNoGoD
25th September 2014, 15:42
You have php and mysql enabled on your webserver, which you host locally?
Ni3ls
25th September 2014, 15:51
No they are hosted on a vps. This is the IP: 37.59.111.62
kung foo man
25th September 2014, 16:59
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)
Ni3ls
25th September 2014, 17:25
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
Mitch
25th September 2014, 18:03
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)
Ni3ls
25th September 2014, 18:14
Thanks Mitch, fixed it!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.