How to get source code from local to web hosting?

You should use ftp software to upload your pages and you should create database using your admin panel. Table can be created by using script or while installing script (depend on the script)
 
Where do you have the problems? On your local computer or on the web hosting provider's server?
If you are having troubles with your web hosting service provider that would be right time to contact them and ask for help.
 
All managed hosting providers give you a file manager, I’m amusing you’re looking for the wp-config.php file to change your credentials?
 
you just need import sql and upload source code to file manager
 
Back
Top