The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains mysql_1 | information that should help you find out what is causing the crash. code example
Example 1: To give permission to the specific user for the CRUD operation in the database at a time
USE OnlineRestaurant1
GO
EXEC sp_addrolemember N'db_datawriter', N'RAHBARINFOTECH\LOVE'
GO
EXEC sp_addrolemember N'db_datareader', N'RAHBARINFOTECH\LOVE'
GO
Example 2: How to get the path to the file that required your module?
module.parent