Error while importing to repository from Azure sql database - mysql

We have taken the export backup of DBA_REP (database-1) and importing to cust1_rep (database-2) i.e customer repository, while importing into cust1_rep, we are getting below error.
When we are checking line no 126, its showing ENGINE=MyISAM */. Instead of INNODB.
[root#MTC-ZURICH-TOMCAT1 MySql_dumps]# cat imp_dba_rep.log
ERROR 1030 (HY000) at line 126: Got error 1 from storage engine

Related

Failed to open file, Error 2 - MySQL Import

I'm trying to import a MySQL Database via command line (Terminal). The file's path seems to be correct, but I keep getting an error message that is most likely showing that, the path of the SQL file I'm importing is not correct. Below is the sample of the command line I'm using and the error I'm getting...
NOTE: Linux Server, Centos 7 - MariaDB
source C:/Users/localcomputerUser/SQLFileFolder/SQLFile.sql
source C:/Users/localcomputerUser/SQLFileFolder/SQLFile.sql
Failed to open file 'C:/Users/localcomputerUser/SQLFileFolder/SQLFile.sql
', error: 2
Thanks for your support.

Having trouble copying a remote database

I am new to MySQL Workbench, and I'm having trouble copying a remote database into my local drive.
I don't have trouble connecting to either my local or the remote, but when I try to copy the database from remote, I get the following error message:
Traceback (most recent call last):
File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/db_copy_progress.py", line 155, in thread_work
self.func()
File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/db_copy_progress.py", line 641, in _row_count
total = self._transferer.count_table_rows(self._working_set)
File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/DataMigrator.py", line 285, in count_table_rows
raise Exception("Error getting row count from source tables, wbcopytables exited with code %s" % out.returncode)
Exception: Error getting row count from source tables, wbcopytables exited with code 1
ERROR: Counting table rows to copy: Error getting row count from source tables, wbcopytables exited with code 1
Failed

Can't load a file to mysql table: Errcode: 2 - No such file or directory

I want to load file into a table. I am using this command.
LOAD DATA LOCAL INFILE 'home/myuser/Documents/my_project/project_sub_directory/project_sub_directory2/project_sub_directory3/my_data_file.txt'
INTO TABLE `mydatabse`.`my_table`
fields terminated BY ',';
I use LOCAL in the command to avoid the following error (an avoid moving my data files to another directory):
Error Code: 1290. The MySQL server is running with the
--secure-file-priv option so it cannot execute this statement
After executing the command, I get this error:
Error Code: 2. File
'home/myuser/Documents/my_project/project_sub_directory/project_sub_directory2/project_sub_directory3/my_data_file.txt'
not found (Errcode: 2 - No such file or directory)
How to resolve the issue without moving my data file to another directory?

Vbulletin ERROR 1062 (23000) at line 38766: Duplicate entry

I have one Vbulettin Forum in RHC Opehshift Servers and I installed one module to backup automatically .
but when I want to import the SQL file to MySQL database i got this error:
ERROR 1062 (23000) at line 38832: Duplicate entry '????????' for key
'tagtext'
So I need to know why this is happened.
The strange thing is when i do export the MySQL database by PHPMYADMIN It works correctly and the database is working on the server ( correct importing to new database),but when I use bash comand like :
mysql -f -u $OPENSHIFT_MYSQL_DB_USERNAME -p$OPENSHIFT_MYSQL_DB_PASSWORD p1resta4shop3 > p1resta4shop3.sql
it's not working!!!?
Open your .sql file in a text editor and try to find that line. Check it's tagtext and see if in .sql file there is another line with that tagtext.
Remove it and try to import again.

Error (Code 1034) : Load data error

My current version of mysql is 5.0.77. I created a database and is trying to load my data into the MyISAM tables with the "load data infile" command. The data are ~3.5GB in size.
I encounter this error while loading:-
Error (Code 3): Error writing file '/tmp/STH06V6g' (Errcode: 28)
Error (Code 1034): 28 when fixing table
Error (Code 1034): Number of rows changed from 106558636 to 237525263
When i check /var/logs/mysqld.log, it displays this warning:-
120420 9:33:10 [Warning] Warning: Enabling keys got errno 28 on sample.X004,retrying
I did a df -h to check on my file usage:-
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/KusuVolGroup00-VAR
2.0G 1.6G 342M 82% /var
I did not enable/disable any keys prior to loading. May I know how do I go about this error?
Thank you so much in advance!
Joanne
Error code 28 means "no space left on device".