I finally installed freepbx and have few problems.
FATAL ERROR
DB Error: not found
Trace Back
/Shares/INTERNET/HTTP/PUBLIC/FreePBX/admin/libraries/db_connect.php:63 die_freepbx()
[0]: DB Error: not found
<?php
$amp_conf['AMPDBUSER'] = 'asteriskuser';
$amp_conf['AMPDBPASS'] = 'amp109';
$amp_conf['AMPDBHOST'] = 'localhost';
$amp_conf['AMPDBNAME'] = 'asterisk';
$amp_conf['AMPDBENGINE'] = 'mysql';
$amp_conf['datasource'] = ''; //for sqlite3
require_once('/Shares/INTERNET/HTTP/PUBLIC/FreePBX/admin/bootstrap.php');
And when i tried this :
mysql -u asteriskuser -p asterisk
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 56
Server version: 5.5.31-0+wheezy1 (Debian)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
Someone have an idea ?
and my command line do the same things … because mysql -u username -p db OR mysql -u username -ppassword db … With password amp109 when prompt ask to me for the first command and amp109 instead of “password” without space
http://www.manpagez.com/man/1/mysql/
“The password to use when connecting to the server. If you use the
short option form (-p), you cannot have a space between the option
and the password.”
Yes off course for the first line :
mysql -u asteriskuser -pamp109 -D asterisk
But for your second line nooooooooooo :
mysql -u asteriskuser
ERROR 1045 (28000): Access denied for user ‘asteriskuser’@‘localhost’ (using password: NO)
And the question stay same that on my first post :
FATAL ERROR
DB Error: not found
Trace Back
/Shares/INTERNET/HTTP/PUBLIC/FreePBX/admin/libraries/db_connect.php:63 die_freepbx()
[0]: DB Error: not found