Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
ODBC
(view source)
Revision as of 18:24, 18 June 2009
549 bytes added
,
18:24, 18 June 2009
m
→Check PHP
:
Added second tsql check
Line 157:
Line 157:
expand-template /etc/odbc.ini
expand-template /etc/odbc.ini
+
+
===Test again with tsql===
+
Test connection, using input in freetds.conf:
+
tsql -S xp3c -U testuser -P testpass
+
+
This should output something like this:
+
locale is "sv_SE"
+
locale charset is "ISO-8859-1"
+
1>
+
1> indicate that you are connected, logged in and the server are ready for SQL commands. Exit tsql console with:
+
quit
===Check PHP===
===Check PHP===
Line 163:
Line 174:
PHP function odbc_connect (and related) should now work.
PHP function odbc_connect (and related) should now work.
+
+
Sample php code to check above could be (add standard html code):
+
if (function_exists('odbc_connect'))
+
{ echo "Function odbc_connect exists!"; }
+
else { echo "Function odbc_connect does NOT exist!"; }
+
and
+
phpinfo();
=== Additional information ===
=== Additional information ===
Per
206
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version