Think Howard has found the issue ...
DB name you currently have in config.php ... shouldn't begin with elearrmoo_ as those kinds of things in true MySQL is a 'prefix' ... look lower in config.php and you should see a line for 'prefix'.
And, databases are not normally named with .sql file name extensions.
So connect the database via mysql client as root/super user. Then issue at the mysql> prompt,
show databases;
The ';' is required.
Should see 'mooelearninglmsstaging' if I've read the screen capture correctly.
Also, better find out what version of Moodle ... exactly ...
in moodle code directory issue:
fgrep '$release' version.php
If it is a 1.9 you'll see close to:
$release = '1.9.19+ (Build: 20130513)';
If 1.9.x you might have to 'dummy down' the version of PHP you are running on that server. 1.9.x ran well on php 5.3 and the code might have many 'depreciated' lines of code for higher versions of PHP.
How you 'dummy down' PHP on your Linux flavor determined by the 'flavor of Linux' ... meaning ... Ubuntu XXX, or CentOS X.X etc..
'spirit of sharing', Ken