No BSD License  

Highlights from
Access a MySQL database

image thumbnail

Access a MySQL database

by

 

05 Dec 2007 (Updated )

(with mym.m)

dbcurr
function[name] = dbcurr
% dbcurr   Current MySQL database         [mym utilities]
% Example  dbname = dbcurr
if ~myisopen
   error('No MySQL connection active; use ''myopen'' to connect') 
else
   name = char(mym('select database()'));
end   

Contact us