Red Hat NETSCAPE MANAGEMENT SYSTEM 4.5 Instrukcja Użytkownika Strona 15

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 26
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 14
Java CFX, you would do the following:
1. Rename your custom tag to something like "CFX_Foo".
2. Add the "java" custom tag using the ColdFusion Administrator. Specify the classname as
"Foo" (case sensitive) in the appropriate field.
3. Call you custom tag from your template using CFX_Foo instead of CFX_J. You should omit the
"CLASS" attribute in the tag.
Tags
l
The CFOBJECT tag is supported only for Java objects (TYPE=Java).
l
Using an ODBC driver, CFUPDATE does not update datetime fields correctly for SQL Server 6.5 or
Sybase System 11. It inputs a time portion of 00:00:00 no matter what time you provide. This does not
happen with CFQUERY or CFGRIDUPDATE. [7162]
Configuring MySQL data sources on ColdFusion Server for Linux
Allaire now ships a MySQL ODBC driver provided by Merant. In addition, you can use the myODBC driver
provided by mySQL.
Use the following information to configure ColdFusion Server for Linux to use the myODBC driver for MySQL data
sources. ColdFusion can use the myODBC driver to talk to the mySQL data base. Information on mySQL can be
found at mysql.com. Allaire has verified that myODBC version 2.50.26 works with mySQL version 3.22.27 and
ColdFusion for Linux. You can download myODBC at www.mysql.com/downloadmyodbc.html.
Running MySQL
Make sure that MySQL has been installed and is running. If you do a ps -eaf | grep mysqld you should see some
entries. Here is an example of how you would run it:
/usr/local/bin/safe_mysqld &.
Try running /usr/local/bin/mysqlshow mysql host to view the default database. Try running a query using
the /usr/local/bin/mysql program, for example: select * from host\g
On Linux, the current versions of MySQL do not support subselects. ColdFusion uses this SQL syntax to expire
client variable storage. As a result, cfexec will report an error when trying to expire client variables. As a work-
around, Allaire provides a CFML template in /opt/coldfusion/scripts/mysql_expire.cfm which you can run manually,
or use the CF scheduler to schedule this template to run every day. You should save the template in your
document root directory.
Adding a MySQL data source
ColdFusion 4.5.1 allows you to use the ColdFusion Administrator to add the MySQL data source. Before the
mySQL driver will appear in the ODBC datasources drop-down list, you must build and copy the myODBC driver
to /opt/coldfusion/lib/libmyodbc.so. The Merant mySQL driver will always appear in the list.
Configuring PostgreSQL data sources on ColdFusion Server for
Linux
ColdFusion 4.5.1 for Linux now includes the unixODBC PostgreSQL ODBC driver. For more information on
Page 15 of 26Release Notes - ColdFusion Server 4.5.1
08/22/2000file://C:\TEMP\cfserver451_release_notes.htm
Przeglądanie stron 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 25 26

Komentarze do niniejszej Instrukcji

Brak uwag