View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Restore database error - ProjeQtOr
 
 

Restore database error

More
04 Dec 2018 09:50 #1 by bassem
Hello,

I tried for a while to restore my ProjeQtor database but without success.
And every time I receive this error message:

Erreur
Requête SQL :


--
-- Dumping data for table `accessprofile`
--

INSERT INTO `accessprofile` (`id`, `name`, `description`, `idAccessScopeRead`, `idAccessScopeCreate`, `idAccessScopeUpdate`, `idAccessScopeDelete`, `sortOrder`, `idle`) VALUES
(1, 'accessProfileRestrictedReader', 'Read only his projects', 3, 1, 1, 1, 100, 0),
(2, 'accessProfileGlobalReader', 'Read all projects', 4, 1, 1, 1, 150, 0),
(3, 'accessProfileRestrictedUpdater', 'Read and Update only his projects', 3, 1, 3, 1, 200, 0),
(4, 'accessProfileGlobalUpdater', 'Read and Update all projects', 4, 1, 4, 1, 250, 0),
(5, 'accessProfileRestrictedCreator', 'Read only his projects\nCan create\nUpdate and delete his own elements', 3, 3, 2, 2, 300, 0),
(6, 'accessProfileGlobalCreator', 'Read all projects\nCan create\nUpdate and delete his own elements', 4, 4, 2, 2, 350, 0),
(7, 'accessProfileRestrictedManager', 'Read only his projects\nCan create\nUpdate and delete his projects', 3, 3, 3, 3, 400, 0),
(8, 'accessProfileGlobalManager', 'Read all pro[...]
MySQL a répondu :

#1062 - Duplicata du champ '1' pour la clef 'PRIMARY'

P.S: I am using ProjeQt0r 7.2.5

Thank you for your help.
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Dec 2018 09:51 #2 by babynus
Replied by babynus on topic Restore database error
You must clean (empy) DB before restoring.
NB : better rename DB, so you keep existing version as backup

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
04 Dec 2018 09:58 #3 by bassem
Replied by bassem on topic Restore database error
I did it, but I still received this error message:
Erreur
Requête SQL :


--
-- Dumping data for table `accessprofile`
--

INSERT INTO `accessprofile` (`id`, `name`, `description`, `idAccessScopeRead`, `idAccessScopeCreate`, `idAccessScopeUpdate`, `idAccessScopeDelete`, `sortOrder`, `idle`) VALUES
(1, 'accessProfileRestrictedReader', 'Read only his projects', 3, 1, 1, 1, 100, 0),
(2, 'accessProfileGlobalReader', 'Read all projects', 4, 1, 1, 1, 150, 0),
(3, 'accessProfileRestrictedUpdater', 'Read and Update only his projects', 3, 1, 3, 1, 200, 0),
(4, 'accessProfileGlobalUpdater', 'Read and Update all projects', 4, 1, 4, 1, 250, 0),
(5, 'accessProfileRestrictedCreator', 'Read only his projects\nCan create\nUpdate and delete his own elements', 3, 3, 2, 2, 300, 0),
(6, 'accessProfileGlobalCreator', 'Read all projects\nCan create\nUpdate and delete his own elements', 4, 4, 2, 2, 350, 0),
(7, 'accessProfileRestrictedManager', 'Read only his projects\nCan create\nUpdate and delete his projects', 3, 3, 3, 3, 400, 0),
(8, 'accessProfileGlobalManager', 'Read all pro[...]
MySQL a répondu :

#1062 - Duplicata du champ '1' pour la clef 'PRIMARY'

Please Log in or Create an account to join the conversation.

More
04 Dec 2018 10:07 #4 by babynus
Replied by babynus on topic Restore database error

#1062 - Duplicata du champ '1' pour la clef 'PRIMARY'

sure your db is not empty.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
04 Dec 2018 10:14 #5 by bassem
Replied by bassem on topic Restore database error
please find the attached file
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Dec 2018 10:22 #6 by bassem
Replied by bassem on topic Restore database error
P.S : I use mysqlbackupandftp tool to backup my database
Maybe the settings are incorrect (please find attached file)
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.063 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.