Mysql Comment Out Code3/5/2021
On RedHat based distro including CentOS, use yum to install php-mysql as shown below.If you are new to MySQL, this is a good place to start: MySQL Beginners Guide.So, you dont have to search and look for the php-mysqli package.All you have to do is install the php-mysql package to get the mysqli extension working on your system.
![]() We are also closing both the result and connection variable as shown above. So, you dont have to search and look for the php-pdo package. All you have to do is install the php-mysql package to get the PDOMYSQL PHP extension working on your system. In the above example, the db is running on localhost and we are connecting to thegeekstuff database. In this example, we are selecting name column from employee table. ![]() Here it is connecting to the MySQL database that is running on the local server using username root and its password. In this example, we are connecting to the database thegeekstuff. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem. Use this Contact Form to get in touch me with your comments, questions or suggestions about this site.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |