Page 1 of 1

Copying htdocs and mysql folder to Google Drive (cloud)

PostPosted: 11. February 2014 16:48
by JeffreyR
I copied the htdocs and mysql folder to my Google Drive folder. Then i uninstalled and then installed xampp(just to test if this was possible):

I changed this in the httpd.conf file
DocumentRoot "C:/Google Drive/htdocs"
<Directory "C:/Google Drive/htdocs">

And only changed this in php.ini
"C:/GD/Google Drive/xampp/mysql/data"

On my PC xampp now works with Google Grive.

I installed xampp on my laptop, tested it and then changed the php.ini and http.conf files
The only difference is the paths to Google Drive on my laptop are:

DocumentRoot "C:/GD/htdocs"
<Directory "C:/GD/htdocs">

Phpmyadmin works and with localhost/phpmyadmin i see all the databases.
But when i click a table in inside a database (Like laravel4_test2 -> users)then PHPmyadmin says "#1146 - Table 'laravel4_test2.users' doesn't exist".

Do i need to share more then just the data folder of the mysql folder?

Also i tested a wordpress website. But wordpress is asking me to reinstall.
I tested a laravel application. Laravel says :

Code: Select all
QLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel4_test2.users' doesn't exist (SQL: select * from `users` where `users`.`deleted_at` is null and `email` = ? limit 1) (Bindings: array ( 0 => '', ))

Re: Copying htdocs and mysql folder to google driver (cloud)

PostPosted: 11. February 2014 16:50
by JeffreyR
This is the mysql log file.

Code: Select all
2014-02-08 12:23:59 10648 [Note] Plugin 'FEDERATED' is disabled.
2014-02-08 12:24:00 2adc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2014-02-08 12:24:00 10648 [Note] InnoDB: The InnoDB memory heap is disabled
2014-02-08 12:24:00 10648 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-02-08 12:24:00 10648 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-02-08 12:24:00 10648 [Note] InnoDB: Not using CPU crc32 instructions
2014-02-08 12:24:01 10648 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2014-02-08 12:24:01 10648 [Note] InnoDB: Completed initialization of buffer pool
2014-02-08 12:24:04 10648 [Note] InnoDB: Highest supported file format is Barracuda.
2014-02-08 12:24:40 10648 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=1625987
2014-02-08 12:24:41 10648 [Warning] InnoDB: Starting to delete and rewrite log files.
2014-02-08 12:24:41 10648 [Note] InnoDB: Setting log file C:\xampp2\mysql\data\ib_logfile101 size to 5 MB
2014-02-08 12:24:42 10648 [Note] InnoDB: Setting log file C:\xampp2\mysql\data\ib_logfile1 size to 5 MB
2014-02-08 12:24:43 10648 [Note] InnoDB: Renaming log file C:\xampp2\mysql\data\ib_logfile101 to C:\xampp2\mysql\data\ib_logfile0
2014-02-08 12:24:44 10648 [Warning] InnoDB: New log files created, LSN=1625987
2014-02-08 12:24:44 10648 [Note] InnoDB: 128 rollback segment(s) are active.
2014-02-08 12:24:45 10648 [Note] InnoDB: Waiting for purge to start
2014-02-08 12:24:45 10648 [Note] InnoDB: 5.6.14 started; log sequence number 1625987
2014-02-08 12:24:45 10648 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 9cfa25a8-90b3-11e3-b26e-8056f2d8abf8.
2014-02-08 12:24:46 10648 [Note] Server hostname (bind-address): '*'; port: 3306
2014-02-08 12:24:46 10648 [Note] IPv6 is available.
2014-02-08 12:24:46 10648 [Note]   - '::' resolves to '::';
2014-02-08 12:24:46 10648 [Note] Server socket created on IP: '::'.

Could it have something to do with:

"No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 9cfa25a8-90b3-11e3-b26e-8056f2d8abf8."