SAS中文论坛

 找回密码
 立即注册

扫一扫,访问微社区

查看: 2076|回复: 2
打印 上一主题 下一主题

Problems loading MySQL, SAS/ACCESS (please help!!!)

[复制链接]

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
楼主
 楼主| 发表于 2007-4-9 14:28:49 | 只看该作者

Problems loading MySQL, SAS/ACCESS (please help!!!)

My code is:

            libname abc mysql user=root password=345  server=localhost database=firstmonth    port=3306;

The log is:  
ERROR: The SAS/ACCESS Interface to MYSQL cannot be loaded. The libmysql code appendage could not be  loaded.
ERROR: Error in the LIBNAME statement.

I am sure that my information ( user ,passward,server,database,etc) are all right. My sas version is 9.1.3.

Will you help to tell what's the reason?



Thanks so much!
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
沙发
 楼主| 发表于 2007-4-9 19:17:29 | 只看该作者

to honeyamy

你的mysql是什么版本的?
试试看在你的程序前加options set=SASMYL MYWIN417;或者在CFG文件中加-set SASMYL MYWIN417。
<!-- m --><a class="postlink" href="http://support.sas.com/techsup/unotes/SN/014/014235.html">http://support.sas.com/techsup/unotes/S ... 14235.html</a><!-- m -->
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
板凳
 楼主| 发表于 2007-4-10 01:31:59 | 只看该作者

to shiyiming

Thanks  shiyiming !
     My sql server is 5.0 and I  tried both
1: Add
options set=SASMYL MYWIN417;
    infront of my program.
2: Add  -set SASMYL MYWIN417
    inmy CFG file.

but I got the same  error messages  in the log file.

Another question,
I have 4 CFG files in diffrent folder, should I put
-set SASMYL MYWIN417 in all of the CFG files or either one is okay!

Thanks again!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SAS中文论坛  

GMT+8, 2025-6-13 18:05 , Processed in 0.099561 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表