Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am wondering what a good tutorial is for MySQL. I am mainly focused on installing it first. I want to make sure it installs it and have php being able to use it (because of phpbb). Could somebody link me to a good turorial? I have read the mysql.com tutorial, but it didnt explain everything. I am on RHL 8.0.
Once I can figure out which file to download, how do I install it? I have seen different versions of installing it on different websites. What my end goal is to be able to use phpBB2. Anyway I can get there is fine with me. I already have php installed from the binary file, will I need to reinstall it?
MySQL 3.23.54 comes with RedHat 8.0 and is installed automatically if you choose it during initial install. If not, it's on the CDs you already have. Installing it from downloaded files at mysql.com is also quite easy and they have excellent documentation describing the process:
Again, if you install MySQL and PHP and all related packages (specifically php-mysql-version#) then they will be "joined" automatically. They'll work together straight "out of the box" so to speak.
I'm talking about installing them from the RedHat 8 CDs...
Okay, thanks. I do not have MySQL installed, but I have php installed from the binary. Is there anyway I can get so MySQL (from the Red Hat 8 cd) can see php without having to reinstall php?
You won't have to re-install anything, as long as all the appropriate packages are installed they will work together. The order of install should not really matter...
Make sure Apache is installed, PHP is installed, MySQL is installed, php-mysql is installed. Then test PHP to make sure at least it is working. Easy way, go to /var/www/html and create a file "phpinfo.php" and in it place:
<?php
phpinfo();
?>
Then surf to the box's IP address/phpinfo.php or a virtual host if you have one configured, etc...
Testing integration with MySQL requires a bit more effort but at the very least check the output of phpinfo() to be sure you see mention of MySQL support being included.
Easiest way? Probably just put your PHPbb online and follow it's configuration/installation instructions and see what happens. I installed it for the first time a few weeks back and it was fairly easy. Not a bad forum software either...
Other than that it would take a bit more complex of a PHP program than just a simple phpinfo() Unless you're wanting to get into PHP coding, just try installing some app like PHPbb and see what you run into.
Do you remeber any of the phpBB installation? I have some questions about it concerning the database part.
I am wondering what to put for basically all of the database part, Database Server Hostname / DSN, Your Database Name, Database Username, Database Password, Prefix for tables in database.
I dont know what to put for any of it. What do I put for DSN and Database name? How would I create a username? Also, will this automatically make the database or do I have to make it before? The prefix tables it already put something in, phpbb_
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.