Skip to main content
replaced http://cs50.stackexchange.com/ with https://cs50.stackexchange.com/
Source Link

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described herehere and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE `pset7`;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE `pset7`;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE `pset7`;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye
Changed single quote (') to back-tick (`) in SQL statement
Source Link
hotwebmatter
  • 3.1k
  • 2
  • 14
  • 30

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE 'pset7';`pset7`;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE 'pset7';
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE `pset7`;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye
Added output of mysql50 shell
Source Link

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE 'pset7';
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

I get the error in the title when working on portfolio of pset7.

I went into a sql shell as described here and the table portfolio appears in the list - if it didn't appear in the list, I could have followed the instructions in that post.

As requested - the output from mysql50 shell

~/workspace/ $ mysql50 shell
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| phpmyadmin         |
| pset7              |
+--------------------+
5 rows in set (0.01 sec)

mysql> USE 'pset7';
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> SHOW TABLES;
+-----------------+
| Tables_in_pset7 |
+-----------------+
| portfolios      |
| users           |
+-----------------+
2 rows in set (0.00 sec)

mysql> exit
Bye
Source Link
Loading