How can I synchronize local database to cpanel database - xampp

i am creating a laravel application and want to host windows PC with data synchronization on my live host cpanel. It is possible or not? if yes, how can i do synchronization my local Xampp project phpmyadmin database in my cpanel phpmyadmin database. Xampp is compatible for large amount of data or not?
Give the local database to live database synchronization idea.

You can export your database from your xampp control panel and import it in your phpmyadmin of cpanel

Related

How to move Locally developed Prestashop to hosting server

I have installed Prestashop 1.7 with MariaDB, in local system it is working fine. I have developed 4 different pages. I want to move this pages to hosting server? Do i need to install the same Prestashop version in the hosting server or just copy and paste will work?. I developed in Ubuntu 16.04 system. Do i need do some changes in db developed in local system while moving to hosting server?
You should simply follow this process:
Transfer your files through FTP to your hosting server
Transfer your database through phpMyAdmin to your hosting server (make use to use utf8_general_ci as a charset)
Upon transfer completion, edit /config/settings.inc.php to set the right MySQL password (the one provided by your hosting provider)
In your PrestaShop admin-panel, configure your main shop URL as well as if you want to use SSL (recommended) or not
Voilà!
After all setting Also You need to Change in ps_configuration table of DB.
In the name column, find the PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL row In the value column and write new domain name that you want PrestaShop to use.

Install Magento 2.1 with MariaDB

Current system installed is using MySQL, going forward we decided to move from MySQL to MariaDB. MySQL service has been stopped and created new DB using HeidiSQL which comes after MariaDB installation.
Now while installing Magento 2.1, I am facing below error.
How do I install Magento 2.1 with MariaDB ? Currently I am using WAMPP server.
try using localhost as the hostname in the configuration
also, try creating a new user for your database with host %
You probably need to set-up your firewall settings and open up ports for MariaDB (SQL during installation does that for you, so you didn't have to do it manually). Also add another user with privileges you need, it's never smart to use root for all of your access.
You can follow some steps on this link, for configuring remote access. It should be the same for the local configuration, at least the same ports.

Laravel continous development for production site

I develop a laravel site in localhost. I'm very interested in the best way to migrate database to production site without losing current data.
If you are using phpmyadmin you can just export the database. It will create a .sql file. Then you need to go into the phpmyadmin of your server and import this .sql file.
You can just save local database with mysqldump to file on the localhost and restore it from dump on the remote one, using ssh (by mysql host database < dump.sql) or phpmyadmin kind of tool.
Backup your database and storage;
Use a git repository- BitBucket or GitHub;
Any more information on your production server? Development Server?
Example: XAMPP, WAMP, or other local server
Are you going to use LAMP?

How to protect (or lock) Apache Server folder in Windows 7

I am running PHP 5 and MySQL with Apache 2 in my Windows 7 PC. Everything (in localhost) is working fine and the localhost is defined in port 80 (It works!). But I would like to password protect (or lock) and hide server folder including htdocs. I mean, I don't want want another user to access the server folder and files. I know that I can remove installation information from add/remove programs menu by removing registry entries (hope it won't affect the server framework). But how can I prevent the users from accessing the server folder? The server folder is a master folder, in which I installed Apache, PHP and MySQL. I made it in C: drive(to ensure security). I want to lock the master folder (password protected). Only I should have the access to them (my friends use my PC). But the content (localhost) should be delivered (I mean the pages should come, along with PHP and MySQL) for everyone. Only a single user account is there (Admin).
How can I lock and hide my folder while running server silent/hidden. Is this possible with or without any software?
http://www.devside.net/articles/windows/password
http://www.brandx.net/support/buildingwebsites/passwords.shtml
http://www.thesitewizard.com/apache/password-protect-directory.shtml
Implement User/Password-protected Directories for Apache Server

can't get database to connect during magento installation - using wizard

I’m trying to install magento on my live web server , I’ve checked the server with magento-check.php and thats fine.
I’ve set up a mysql db with the user name and password the of the mysql server
I’ve entered this into the host* along with the username and password into the installation wizard but it will not connect. ?
Can anybody help me with this I know it seems so simple ??
The problem was that the server i was trying to install magento onto did not support mysql InnoDB - only MyISAM , Magento uses the InnoDB engine. I have now installed several versions of Magento on 1and1 servers.

Resources