How to connect a web with phpadmin slq server? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to connect a web with phpadmin slq server?

connection with db

12th Jan 2017, 3:36 PM
Aashish Kumar
Aashish Kumar - avatar
6 Answers
+ 5
mysqli_connect('localhost', 'name', 'password', 'defaultdb')
12th Jan 2017, 3:46 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
is there any web hosting service, who provide free db for learning purpose?
12th Jan 2017, 3:53 PM
Aashish Kumar
Aashish Kumar - avatar
+ 4
Aashish, you can setup a local host on your pc for free, if you want to use Linux distros try installing them in a virtual box then you can install mysql and whatever else you need.
12th Jan 2017, 4:27 PM
Alex
Alex - avatar
+ 3
freewebhostingarea.com (?) 000webhost.com (?) I never actually got into web hosting though, but you can actually try those two "recommended" sites. I've been using XAMPP for phpMyAdmin and I suggest you do the same too because uploading and updating files from FTP is a pain in the bum.
12th Jan 2017, 4:00 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
use virtual host. wamp, xammp, etc
12th Jan 2017, 3:58 PM
Louis Milotte
Louis Milotte - avatar
+ 1
use ssh rather than ftp. it's a desired skill
12th Jan 2017, 4:01 PM
Louis Milotte
Louis Milotte - avatar