ATech Machine LIBRA-02 M Informazioni Techniche Pagina 382

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 734
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 381
Then connect to the database console so you can create your asterisk user and set up
permissions:
$ mysql -u root -p
Enter password:
After entering the password, you will be presented with the mysql console prompt. You
can now create your asterisk user by executing the CREATE USER command. The % is a
wildcard indicating the asterisk user can connect from any host and is IDENTIFIED BY
the password some_secret_password (which you should obviously change). Note the
trailing semicolon:
mysql> CREATE USER 'asterisk'@'%' IDENTIFIED BY 'some_secret_password';
Query OK, 0 rows affected (0.00 sec)
Let’s also create the initial database you’ll use throughout this chapter:
mysql> CREATE DATABASE asterisk;
Query OK, 1 rows affected (0.00 sec)
Now that you’ve created your user and database, you need to assign permissions for
the asterisk user to access the asterisk database:
mysql> GRANT ALL PRIVILEGES ON asterisk.* TO 'asterisk'@'%';
Query OK, 0 rows affected (0.00 sec)
Finally, exit from the console and verify that your permissions are correct by logging
back into the asterisk database as the asterisk user:
mysql> exit
Bye
# mysql -u asterisk -p asterisk
Enter password:
mysql>
You’re now ready to move on to “Installing and Configuring ODBC” on page 346.
Installing and Configuring ODBC
The ODBC connector is a database abstraction layer that makes it possible for Asterisk
to communicate with a wide range of databases without requiring the developers to
create a separate database connector for every database Asterisk wants to support. This
saves a lot of development effort and code maintenance. There is a slight performance
cost, because we are adding another application layer between Asterisk and the data-
base, but this can be mitigated with proper design and is well worth it when you need
powerful, flexible database capabilities in your Asterisk system.
Before you install the connector in Asterisk, you have to install ODBC into Linux itself.
To install the ODBC drivers, use one of the following commands.
346 | Chapter 16:Relational Database Integration
Vedere la pagina 381
1 2 ... 377 378 379 380 381 382 383 384 385 386 387 ... 733 734

Commenti su questo manuale

Nessun commento

LG RH188H manuály

Uživatelské manuály a uživatelské příručky pro LCD televizory LG RH188H.
Poskytujeme 1 manuály pdf LG RH188H ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro LCD televizory LG

Modely Typ Dokumentu
32LM3410 Uživatelský manuál   LG 32LM3400 Owner's manual, 87 stránky
65UK6470PLC Uživatelský manuál   LG 49UK6470PLC Owner's manual [ar] , 30 stránky
50PK760N Uživatelský manuál LG 50PK950,60PK950,50PK760N,50PK950N,60PK950N Användar manual [it] , 249 stránky
22LU4000 Uživatelský manuál   LG 22LU4000 Owner's manual, 194 stránky
43LW310C-ASIA Uživatelský manuál   LG 43LW310C Owner’s Manual, 40 stránky
RZ-20LA90 Uživatelský manuál LG RZ-20LA90 Användar manual [es] , 36 stránky
RT-14CA57M Uživatelský manuál   LG RT-14CA57M Руководство пользователя, 32 stránky
39LN5400-CA Uživatelský manuál   LG 32LN540B-CA,39LN5400-CA,42LN5400-CA,47LN5400-CA,55LN5400-CA 产品说明书, 39 stránky
50PF95 Uživatelský manuál LG 37LF75,37LY95,50PF95 Brukermanual, 116 stránky
65LA97000 Uživatelský manuál   LG 65LA9650 Owner's manual, 205 stránky
43UJ651V Uživatelský manuál   LG 43UJ651V Owner's manual, 36 stránky
CF-29H90NM Uživatelský manuál   LG CF-29H90NM Owner’s Manual [ur] , 25 stránky
OLED77W8PLA Uživatelský manuál   LG OLED65W8PLA,OLED77W8,OLED77W8PLA Руководство пользователя, 32 stránky
32LE4600 Uživatelský manuál   LG 55LE7500 Owner’s Manual, 242 stránky
42PB2RR Uživatelský manuál   LG 42PB2RR Owner's manual, 96 stránky
M2780D-PZ Uživatelský manuál   LG M2380DB-PZ Owner's manual, 158 stránky
M2794DP-PZ Uživatelský manuál LG M2794DP-PZ Användar manual, 111 stránky
32LY750H Uživatelský manuál   LG 32LY750H Owner’s Manual, 36 stránky
49LJ594V Uživatelský manuál   LG 49LJ594V Owner's manual, 38 stránky
50PY2R Uživatelský manuál   LG 50PY2R Owner's manual, 64 stránky