Control Web Panel
WebPanel => Information => Topic started by: pixelpadre on May 12, 2019, 06:58:52 PM
-
Im having a hard time with one website on my new install.
First it was a problem with followsymlinks that I think I fixed by modifying the single vhost file.
But now I exported dbase from older version cwp. When I import I get syntax errors from mariadb.
I cant get past the top of the file
-- phpMyAdmin SQL Dump
-- version 4.6.6
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: May 12, 2019 at 06:49 PM
-- Server version: 10.1.22-MariaDB
-- PHP Version: 7.0.24
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
-
Its been a reallllllllllly long day today.
Followsymlinks issue took half a day and the dabase import took half a day.
The fix for the database was this.
DO NOT USE EXPORT FUNCTION WITHIN CWP PHPMYADMIN. IT WILL GENERATE A PIECE OF SHIT.
DO A MYSQLDUMP FROM CENTOS SHELL AND YOU WILL GET A USABLE SQL FILE TO IMPORT.
[ ~]# mysqldump -u root -p scanmyid_rush > scanmyid_rush.sql
(FILE OUTPUT WILL BE IN THE DIRECTORY WHERE YOU DID THE DUMP.
-
BTW...password is root mysql password