Bug 12135

Summary: Embedded server doesn't exist in MySQL 5.0
Product: roadster Reporter: Jeff Garrett <jeff>
Component: generalAssignee: Jeff Garrett <jeff>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch for MySQL 5.0 support

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.