Forums

Error when opening SQL Console

From the 'Consoles' screen, when I click 'MYSQL' in the 'Start a new console:' section, I get the following error:

Hello Ralph.  You are the greatest!!!!!
ERROR 1049 (42000): Unknown database 'RalphNussbaumer$default'
Console closed.

Above the console screen, I can change the database name. When I do so to change it to 'ads' (which is the actual name of my db) then I get a very long html display which is at the bottom of this post.

Everything works fine if I go to the 'Databases' screen and open my click on my database under the 'Your databases:' section.

So there is a workaround. Is there something I am doing wrong to cause the blowup when going through the Consoles screen? Maybe something in my configuration settings?

Thanks, Ralph

<!DOCTYPE html>

<html lang="en" style="height: 100%">
<head>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DHJF51F24N"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-DHJF51F24N');
</script>


<meta charset="utf-8">
<title>Page not found: PythonAnywhere</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Page not found: PythonAnywhere">
<meta name="author" content="PythonAnywhere LLP">
<meta name="google-site-verification" content="O4UxDrfcHjC44jybs2vajc1GgRkTKCTRgVzeV6I9V14" />


<!-- Le styles -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i" />

<link rel="stylesheet" href="/static/CACHE/css/output.f38e3aacf35a.css" type="text/css" media="screen">
<link rel="stylesheet" href="/static/CACHE/css/output.b9a4961a16f7.css" type="text/css"><link rel="stylesheet" href="/static/CACHE/css/output.7bed882431f1.css" type="text/css" media="screen">

<!-- Le javascript -->
<script type="text/javascript">
var Anywhere = {};
Anywhere.urls = {};
Anywhere.csrfToken = "hWvs13qvUTdLv2LwU1FZ0GqRib2a0G3J1iUqddWzO28wNQSTJl92KR52TvBi2xOO";
</script>
<script src="/static/CACHE/js/output.9912b9c89b96.js"></script>






</head>

<body style="height:100%;">
<div style="min-height: 100%; position: relative;">


<nav class="navbar top-nav hidden-xs">
<div class="container">
<ul class="nav navbar-nav navbar-right">

<li class=""><a href="" target="_parent" class="feedback_link">Send feedback</a></li>


<li class=""><a href="/forums/" target="_parent" class="forums_link">Forums</a></li>
<li class=""><a href="https://help.pythonanywhere.com/" target="_parent" class="help_link">Help</a></li>
<li class=""><a href="https://blog.pythonanywhere.com/" target="_parent" class="blog_link">Blog</a></li>


<li class=""><a href="/user/RalphNussbaumer/" target="_parent" class="dashboard_nav_link">My Dashboard</a></li>

<li class=""><a href="/user/RalphNussbaumer/account/" target="_parent" class="account_link">Account</a></li>
<li class="">
<form action="/logout/" method="POST" target="_parent">
<input type="hidden" name="csrfmiddlewaretoken" value="hWvs13qvUTdLv2LwU1FZ0GqRib2a0G3J1iUqddWzO28wNQSTJl92KR52TvBi2xOO">
<button type="submit" class="btn-link logout_link">Log out</button>
</form>
</li>


</ul>
</div>
</nav>






<nav class="navbar primary-navbar">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main_nav" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img id='id_logo' src="/static/anywhere/images/PA-logo.svg" width="225">
</a>
</div>

<div class="collapse navbar-collapse" id="main_nav">
<ul class="nav navbar-nav navbar-right">





<li class="visible-xs"><a href="" target="_parent" class="feedback_link">Send feedback</a></li>


<li class="visible-xs"><a href="/forums/" target="_parent" class="forums_link">Forums</a></li>
<li class="visible-xs"><a href="https://help.pythonanywhere.com/" target="_parent" class="help_link">Help</a></li>
<li class="visible-xs"><a href="https://blog.pythonanywhere.com/" target="_parent" class="blog_link">Blog</a></li>


<li class="visible-xs"><a href="/user/RalphNussbaumer/" target="_parent" class="dashboard_nav_link">My Dashboard</a></li>

<li class="visible-xs"><a href="/user/RalphNussbaumer/account/" target="_parent" class="account_link">Account</a></li>
<li class="visible-xs">
<form action="/logout/" method="POST" target="_parent">
<input type="hidden" name="csrfmiddlewaretoken" value="hWvs13qvUTdLv2LwU1FZ0GqRib2a0G3J1iUqddWzO28wNQSTJl92KR52TvBi2xOO">
<button type="submit" class="btn-link logout_link">Log out</button>
</form>
</li>


</ul>
</div>

</div>
</nav>

<div class="container">


</div>













<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">

<h1 class="error_header" id="id_server_error_title">404 Not Found</h1>

<p id="id_server_error_text">
The page that you seek<br/>
can't be found; lost in the clouds.<br/>
Please look somewhere else

<p>
<a id="id_link_home" href="/">&laquo; Return to PythonAnywhere home</a>

</div>
</div>
</div>




<div class="footer-spacer"></div>
<footer id="id_copyright_div" class="footer">
<p>
Copyright &copy; 2011-2024 <a href="/about/company_details/">PythonAnywhere LLP</a>
&mdash;
<a href="/terms/">Terms</a>
&mdash;
<a href="/privacy/">Privacy & Cookies</a><br/>
</p>
</footer>

</div>




<div id="id_feedback_dialog" title="Help us improve" style="display:none">
<div id="id_feedback_dialog_blurb_big" class="dialog_blurb_big">
It's always a pleasure to hear from you!
</div>
<div id="id_feedback_dialog_blurb_small">
Ask us a question, or tell us what you love or hate about PythonAnywhere.<br/>
We'll get back to you over email ASAP.
</div>
<textarea id="id_feedback_dialog_text" rows="6"></textarea>
<input id="id_feedback_dialog_email_address" type="text" placeholder="Email address (optional - only necessary if you would like us to contact you)"/>

<div id="id_feedback_dialog_error" style="display: none">
Sorry, there was an error connecting to the server. <br/>Please try again in a few moments...
</div>
<div id="id_feedback_dialog_rate_limit_error" style="display: none">
Sorry, we have had to rate-limit your feedback sending.<br/>Please try again in a few moments...
</div>
<div id="id_feedback_dialog_success" style="display: none">
Thanks for the feedback! Our tireless devs will get back to you soon.
</div>
<div class="dialog_buttons">
<img id="id_feedback_dialog_spinner" src="/static/anywhere/images/spinner-small.gif" />
<button class="btn btn-primary" id="id_feedback_dialog_ok_button">OK</button>
<button class="btn btn-default" id="id_feedback_dialog_cancel_button">Cancel</button>
</div>
<div id="id_feedback_dialog_only_close_button" style="display: none">
<button class="btn btn-primary" id="id_feedback_dialog_close_button">Close</button>
</div>
</div>



<!-- preload font awesome fonts to avoid glitch when switching icons -->
<div style="width: 0; height: 0; overflow: hidden"><i class="fa fa-square-o fa-3x" ></i></div>
</body>
</html>

It looks like you deleted the default database that that link requires.

You are correct! I created a database called 'default' and now all is well. Thank you!

Thanks for confirming that!