報錯內容主要是:EnvironmentError: mysql_config not foundCommand "python setup.py egg_info" failed with error code 1 in /private/var/folders/nh/j05szmpj19368dd9_y6whgy40000gq/T/pip-install-n9Jonx/mysql-python/網上查了執行一個什么環境變量的命令:expor
#開山函數 hello world
delimiter $$
create function test() returns varchar(20)
begin
return 'hello world!';
end
$$
delimiter ;
#小測試
delimiter $$
create function func1() returns varchar(20)
begin
if hour(now())>=18 then
return 'late