Data Source = (YOUR_SERVER_NAME)\SQLEXPRESS
可以參考SQL Server Management Studio,登入後直接看連結到的名稱即可
參考網址:
Why Your Web Application Can’t Connect to SQL Server
Data Source = (YOUR_SERVER_NAME)\SQLEXPRESS
socket=/tmp/mysql.sock
pdo_mysql.default_socket=/tmp/mysql.sock
$cfg['Servers'][$i]['host'] = '127.0.0.1';
NSInteger
是不同的类型定义:#if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64
typedef long NSInteger;
typedef unsigned long NSUInteger;
#else
typedef int NSInteger;
typedef unsigned int NSUInteger;
#endif
在格式化字符串时,使用'%ld'会在真机中报该警告。解决办法:#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 extern int SecRandomCopyBytes(SecRandomRef rnd, size_t count, void *bytes) __attribute__((weak_import)); #else extern int SecRandomCopyBytes(SecRandomRef rnd, size_t count, uint8_t *bytes) __attribute__((weak_import)); #endif
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
.bg{ pointer-events: none; //在CSS中加這段即可 }