Fatal error create database fabfile

88 views
Skip to first unread message

Gianluca Petrocchi

unread,
May 14, 2013, 4:33:10 AM5/14/13
to mayan...@googlegroups.com
hi,
using the fabfile with ubuntu 12.04 / 13 I get this error:

[localhost] run: echo "CREATE DATABASE mayan;" |  mysql -u root --password=<root>
[localhost] out: /bin/bash: -c: riga 0: errore di sintassi vicino al token non atteso "newline"
[localhost] out: /bin/bash: -c: riga 0: `echo "CREATE DATABASE mayan;" |  mysql -u root --password=<root>'


Fatal error: run() encountered an error (return code 1) while executing 'echo "CREATE DATABASE mayan;" |  mysql -u root --password=<root>'

Aborting.
Disconnecting from localhost... done.
how can I solve it?

Pierpaolo Baldan

unread,
May 14, 2013, 7:01:45 AM5/14/13
to mayan...@googlegroups.com
Ciao Gianluca 
dovresti attivare l'utente root che di default in ubuntu è disabilitato, prima prova con il comando sudo passwd root , attribuisci una password e poi sostituiscila nel fabfile
Pierpaolo


2013/5/14 Gianluca Petrocchi <gianluca...@gmail.com>


--
 
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gianluca Petrocchi

unread,
May 14, 2013, 10:22:10 AM5/14/13
to mayan...@googlegroups.com

Grazie per l'aiuto Pierpaolo ma adesso, lanciando l'installazione con l'utente "root", mi da questo errore:

[localhost] run: echo "CREATE DATABASE mayan;" |  mysql -u root --password=root
[localhost] out: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)



Fatal error: run() encountered an error (return code 1) while executing 'echo "CREATE DATABASE mayan;" |  mysql -u root --password=root'

Aborting.
Disconnecting from localhost... done.
ma per password nel fabfile intendi la password da inserire in <Your MySQL root password> durante l'installazione?

Pierpaolo Baldan

unread,
May 15, 2013, 2:31:41 AM5/15/13
to mayan...@googlegroups.com
Questo è più semplice !Trovi la soluzione su google ;-)


2013/5/14 Gianluca Petrocchi <gianluca...@gmail.com>

Gianluca Petrocchi

unread,
May 15, 2013, 9:53:59 AM5/15/13
to mayan...@googlegroups.com

Grazie Pierpaolo per il supporto, ho risolto adesso parte.
Ciao.
Message has been deleted

Adhiraj Kohli

unread,
Jun 27, 2013, 4:25:54 PM6/27/13
to mayan...@googlegroups.com
Hi,

I am also getting the same error. How did you resolve this ?
Reply all
Reply to author
Forward
0 new messages