Bug 12135 - Embedded server doesn't exist in MySQL 5.0
Summary: Embedded server doesn't exist in MySQL 5.0
Status: RESOLVED FIXED
Alias: None
Product: roadster
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jeff Garrett
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2007-08-24 03:05 UTC by Jeff Garrett
Modified: 2007-09-07 23:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch for MySQL 5.0 support (3.96 KB, patch)
2007-08-24 03:13 UTC, Jeff Garrett
Details | Splinter Review

Description Jeff Garrett 2007-08-24 03:05:03 UTC
It is possible to include mysql_embed.h and to link with libmysqld, but the application fails with mysql_embedded:  '''' File not found.  The MySQL web site plainly states the embedded server support is not in 5.0, but will return in 5.1.  It would appear then that the guts were ripped out, but the dressing (header, library) stayed.

Reported on the mailing list http://lists.freedesktop.org/archives/roadster/2007-August/000212.html
Comment 1 Jeff Garrett 2007-08-24 03:13:07 UTC
Created attachment 11253 [details] [review]
Patch for MySQL 5.0 support

The patch removes the reliance on the embedded server, and adds a rudimentary MySQL configuration.  Create a file ~/.roadster/roadster.conf with:
[mysql]
host = $host
user = $user
password = $password
database = $database

If the file is missing, or any parameters not set, defaults will be used.

From the mailing list http://lists.freedesktop.org/archives/roadster/2007-August/000212.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.