I’m trying to build a post-to-wall system. I followed a tutorial and it looks like I’m fairly close. However, loads of warnings come up when I post instead of the actual post. Do I need to setup a database somwewhere? I’ve never done much with PHP or databases, so excuse my ignorance.
Share
This all depends on whether you have underlying access to the machine that you are doing your development on.
If it is a linux machine and you are able to log into it then the following command will work for Red Hat (and it’s derivatives: fedora, centos, etc…) as well as deban based systems such as ubuntu:
If this command reports some form of error they you will probably need to install mysql with one of the following commands:
OR
The
sudopart makes you superuser so that you may install the software (not everyone) can install software you know. When you have run this command the computer will go through all the normal steps to install the software, but it will ask you a number of questions like: what would you like the root password to be? what IP is mysql going to run on? Luckily MySql fills most of these in by default.If you are running on windows then it is just a matter of downloading the installation file from the mysql website, double clicking the .exe, and following the installation steps.
Good luck!
EXTRA: If you are looking for an easy way to access your mysql database you can’t go far wrong with ‘MySQL GUI Tools’, just google it.