MySQL Forums
Forum List  »  Quality Assurance

How to import views - fedora phpmyadmin
Posted by: waseem baraskar
Date: November 30, 2012 05:25AM

Hi everyone outthere,

I am shifting database from one machine to another machine.
My os is fedora 7. The both machine have same os & alomot same configuration.

when I am importing table in phpmyadmin, they are imported successfully.
But when I am importing views they giving me error.How can I fix this.Please help me out.

The error==>
SQL query:

--
-- Database: `Trovit`
--
-- --------------------------------------------------------
--
-- Stand-in structure for view `QC_Daily_Count`
--
CREATE TABLE IF NOT EXISTS `QC_Daily_Count` (
`qcd_engineer` NULL ,
`QC_daily_Count` bigint( 21 )
);

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null
,`QC_daily_Count` bigint(21)
)' at line 2

--------------------------------------------------------------------------------
I also use command mysqldump but same error occured.
mysql Trovit -u root -p < QC_Daily_Count.sql


Please help me out.
any suggesstion are helpful.
thanks in advance.

Options: ReplyQuote


Subject
Views
Written By
Posted
How to import views - fedora phpmyadmin
5101
November 30, 2012 05:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.